I've run into an error trying to insert
float values into fields with an underlying type of
real using parameterized SQL INSERT commands. Upon executing the command, an exception is thrown saying "Unknown BLOB field type", even if no BLOB fields exist within the table. I've been able to reproduce this issue within a simple demo app that I would be happy to forward along.
I can trigger this with code as simple as this:
Code: Select all
Command->SQL->Text = "INSERT [TableName] ( [ValueReal] ) VALUES ( :ValueReal )";
Command->Params->Items[0]->Value = float(3.14);
Command->Execute();
My development environment consists of:
• Windows 7 (64-bit)
• RAD Studio 2010
• MS SQL Server Compact 3.5 (also occurs within MS SQL Server)
• SDAC 4.80.0.58