 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
John Franklin Guest
|
Posted: Sat Mar 12, 2005 7:21 pm Post subject: Cannot write large text field to SQL Server |
|
|
I'm using BCB6 to connect via BDE to a SQL Server 2000 database. I am trying
to write a large amount of text to a SQL Server text field but for some
reason only around 32K gets written.
I am using
Query->ParamByName("Fieldname")->AsMemo
to assign the data.
Is there a length limitation using this method and what is the alternative?
Many thanks,
John Franklin
|
|
| Back to top |
|
 |
Viatcheslav V. Vassiliev Guest
|
Posted: Mon Mar 14, 2005 11:42 am Post subject: Re: Cannot write large text field to SQL Server |
|
|
There is parameter in BDE, something like "BLOB SIZE", it is 32 kB by
default. Set to what you need.
//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)
"John Franklin" <john (AT) lesberries (DOT) co.uk> сообщил/сообщила в новостях
следующее: news:42334107$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I'm using BCB6 to connect via BDE to a SQL Server 2000 database. I am
trying
to write a large amount of text to a SQL Server text field but for some
reason only around 32K gets written.
I am using
Query->ParamByName("Fieldname")->AsMemo
to assign the data.
Is there a length limitation using this method and what is the
alternative?
Many thanks,
John Franklin
|
|
|
| Back to top |
|
 |
John Franklin Guest
|
Posted: Wed Mar 16, 2005 9:18 am Post subject: Re: Cannot write large text field to SQL Server |
|
|
Thanks very much. That's fixed it!
Regards,
John Franklin
"Viatcheslav V. Vassiliev" <support (AT) oledbdirect (DOT) com> wrote
| Quote: | There is parameter in BDE, something like "BLOB SIZE", it is 32 kB by
default. Set to what you need.
//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)
"John Franklin" <john (AT) lesberries (DOT) co.uk> сообщил/сообщила в новостях
следующее: news:42334107$1 (AT) newsgroups (DOT) borland.com...
I'm using BCB6 to connect via BDE to a SQL Server 2000 database. I am
trying
to write a large amount of text to a SQL Server text field but for some
reason only around 32K gets written.
I am using
Query->ParamByName("Fieldname")->AsMemo
to assign the data.
Is there a length limitation using this method and what is the
alternative?
Many thanks,
John Franklin
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|