SQL Server balks at create of BLOB field
Posted: Wed 28 Sep 2011 14:20
Background:
[i][i]We are moving a huge suite of tools from D7 to D2010 and changing
from dbexpress connections to unidac-based connections.
With the same software we support IB, FB, MSSQL & Oracle.
The bear is dealing with all the datatype oddities.[/i][/i]
Seems that sql server balks at creating table with field datatype BLOB.
q.sql.add( 'create table simple(xinteger integer, xblob blob) ' );
q.execsql;
Yields error:
"...raised exception class EMSError with message 'Comun, parameter, or variable #2: Cannot find data type BLOB."
Same DDL:
oracle works
interbase works
sql server errors
(sql server 2005 that has always supported blobs through dbexpress components)
Looking for similar code to work with most data/query activities.
sincerely,
tonyM
[i][i]We are moving a huge suite of tools from D7 to D2010 and changing
from dbexpress connections to unidac-based connections.
With the same software we support IB, FB, MSSQL & Oracle.
The bear is dealing with all the datatype oddities.[/i][/i]
Seems that sql server balks at creating table with field datatype BLOB.
q.sql.add( 'create table simple(xinteger integer, xblob blob) ' );
q.execsql;
Yields error:
"...raised exception class EMSError with message 'Comun, parameter, or variable #2: Cannot find data type BLOB."
Same DDL:
oracle works
interbase works
sql server errors
(sql server 2005 that has always supported blobs through dbexpress components)
Looking for similar code to work with most data/query activities.
sincerely,
tonyM