How to fix this database error?

09/17/2016 08:08 Ecrypter#1
CQuery-LogFile_20160916

error_20160916

or anyone can share the link on how to fix this error
thanks in advance
09/17/2016 14:27 Sedrika#2
This is a bug with the datatype of RandomOpt in tblTradeItemLog.

Execute this once to fix it:

Code:
USE [LOGGING_01_DBF]
GO

ALTER TABLE [tblTradeItemLog] DROP CONSTRAINT [DF_tblTradeItemLog_RandomOpt]
GO

ALTER TABLE [tblTradeItemLog]
ALTER COLUMN [RandomOpt] BIGINT NOT NULL
GO

ALTER TABLE [dbo].[tblTradeItemLog] ADD  CONSTRAINT [DF_tblTradeItemLog_RandomOpt]  DEFAULT ((0)) FOR [RandomOpt]
GO
05/01/2018 16:38 flyforall123#3
i got the same error too cause the trans not working .
can someone help me
05/04/2018 14:14 #vue#4
Quote:
Originally Posted by flyforall123 View Post
i got the same error too cause the trans not working .
can someone help me
Change prandomOpt from int to bigint.