Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Borland C++

1 view
Skip to first unread message

gayat...@gmail.com

unread,
Aug 4, 2008, 6:48:24 AM8/4/08
to
I am facing a problem in Borland C++ code.
There is a database in SQL server 2005. Merge publication is done on
the database.
the borland c++ application connects to that database. There is one
table in the database named DBTable which we are trying to open in the
following code. The call to open() function fails with an error
message "General SQL Error:[Microsoft][ODBC SQL Server Driver]Numeric
Value out of range"


Help with Code Tags (Toggle Plain Text)
DBTable = new TTable(Application);
DBTable ->TableName = "SID";
DBTable ->DatabaseName = pDB->DatabaseName;
DBTable ->Open();DBTable = new TTable(Application);
DBTable ->TableName = "SID";
DBTable ->DatabaseName = pDB->DatabaseName;
DBTable ->Open();

The table conatins around 2 lac records and the columns are of type-
int,int,int,varchar(4000)

If the merge publication is deleted then there is no error produced.

0 new messages