BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cannot write large text field to SQL Server

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
John Franklin
Guest





PostPosted: Sat Mar 12, 2005 7:21 pm    Post subject: Cannot write large text field to SQL Server Reply with 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
Viatcheslav V. Vassiliev
Guest





PostPosted: Mon Mar 14, 2005 11:42 am    Post subject: Re: Cannot write large text field to SQL Server Reply with 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...
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





PostPosted: Wed Mar 16, 2005 9:18 am    Post subject: Re: Cannot write large text field to SQL Server Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.