Board index » delphi » varchar (2000) field is truncated to 256 (sqlserver)
Fidel Lagos
![]() Delphi Developer |
Sat, 15 May 2004 05:36:07 GMT
|
Fidel Lagos
![]() Delphi Developer |
Sat, 15 May 2004 05:36:07 GMT
varchar (2000) field is truncated to 256 (sqlserver)
Hi
I have a varchar(2000) field, when I executes a select, the any suggestion Fidel Lagos |
Marc Scheune
![]() Delphi Developer |
Sat, 15 May 2004 04:39:31 GMT
Re:varchar (2000) field is truncated to 256 (sqlserver)On Mon, 26 Nov 2001 17:36:07 -0400, "Fidel Lagos" Quote<fla...@axisgroup.cl> wrote: this is a known limitation - you're better off using ADO. Marc ------------------------------------------------------------------------ |
Fidel Lago
![]() Delphi Developer |
Sat, 15 May 2004 06:31:59 GMT
Re:varchar (2000) field is truncated to 256 (sqlserver)Thanks I am accesing SqlServer trought BDE, Fidel Quote"Marc Scheuner" <mscheu...@no.spam.for.me.ca> wrote in message Quote> On Mon, 26 Nov 2001 17:36:07 -0400, "Fidel Lagos" |
Euan Garde
![]() Delphi Developer |
Sat, 15 May 2004 11:10:04 GMT
Re:varchar (2000) field is truncated to 256 (sqlserver)BDE uses dblib as an API to SQL Server, this was not updated for SQL Server 7 to include support for the new features such as large varchars and uncode, hence in your case it is truncating to the limit of dblib. -Euan Quote"Fidel Lagos" <fla...@axisgroup.cl> wrote in message Quote> Thanks |
Fidel Lago
![]() Delphi Developer |
Sat, 15 May 2004 21:24:08 GMT
Re:varchar (2000) field is truncated to 256 (sqlserver)Thanks what can I do?, upgrade BDE? any suggestion ? Fidel Lagos Quote"Euan Garden" <euan_gar...@spicedham.hotmail.com> wrote in message Quote> BDE uses dblib as an API to SQL Server, this was not updated for SQL - Hide quoted text - - Show quoted text - Quote |
Kevin Frever
![]() Delphi Developer |
Sat, 15 May 2004 23:14:26 GMT
Re:varchar (2000) field is truncated to 256 (sqlserver)Fidel, DBLib is/was developed by Microsoft, not Borland, so if you really need Good luck, QuoteFidel Lagos <fla...@axisgroup.cl> wrote in message Quote> Thanks |
Bob Dawso
![]() Delphi Developer |
Sun, 16 May 2004 08:34:21 GMT
Re:varchar (2000) field is truncated to 256 (sqlserver)Quote"Fidel Lagos" <fla...@axisgroup.cl> wrote in message Quote> Thanks the server side. Somthing like SELECT The BDE will see the resulting MyComment field as a memo field type. Same for Updates/Inserts--go through the transport layers as a memo (applies SQLServer 7 using BDE-SQLLinks) |
Euan Garde
![]() Delphi Developer |
Sun, 16 May 2004 10:18:58 GMT
Re:varchar (2000) field is truncated to 256 (sqlserver)Switch to use ADO, OLE DB or direct ODBC, not ODBC through the BDE. -Euan Quote"Fidel Lagos" <fla...@axisgroup.cl> wrote in message Quote> Thanks |
1. sqlserver varchar field truncated to 255
2. Varchar(255) vs Varchar(256) and TStrigField vs TMemoField
3. Why is my data truncated when I read a Varchar(4000) field
5. Long varchar fields in SQL 2000
6. HowTo Get Varchar(2000) field
7. Cannot retrieve MS-SQLServer VARCHAR(n>255) or TEXT field in Delphi program
8. Cannot retrieve the data from a MS-SQLServer VARCHAR(n>255) or TEXT field