Click here to Skip to main content
16,004,977 members
Home / Discussions / Database
   

Database

 
GeneralRe: T-SQL Problem Pin
WDI23-Aug-05 4:27
WDI23-Aug-05 4:27 
GeneralRe: T-SQL Problem Pin
Colin Angus Mackay23-Aug-05 4:54
Colin Angus Mackay23-Aug-05 4:54 
GeneralRe: T-SQL Problem Pin
Frank Kerrigan23-Aug-05 4:16
Frank Kerrigan23-Aug-05 4:16 
GeneralFiltering and Paging Pin
WDI23-Aug-05 2:11
WDI23-Aug-05 2:11 
GeneralRe: Filtering and Paging Pin
miah alom25-Aug-05 10:40
miah alom25-Aug-05 10:40 
QuestionCannot lock record? Pin
Javolin22-Aug-05 14:30
Javolin22-Aug-05 14:30 
AnswerRe: Cannot lock record? Pin
Christian Graus22-Aug-05 14:33
protectorChristian Graus22-Aug-05 14:33 
Questioninsert text truncated in ADO, not in ODBC? Pin
ir_fuel22-Aug-05 11:06
ir_fuel22-Aug-05 11:06 
Hi
The problem is the following:
i have an ms access database containing a memo field and i want to insert a new record from within my c# app.
I use an ADO connection and an ADO command.

this is my sql command text:

"INSERT INTO ProductTable (Description) VALUES (' BLA BLA BLA BLA BLA')

All of this seemed to work fine, up until the moment i tried using longer strings.
When adding a string of more than 100 characters in the description field, the command executes normally (no errors), but when looking in the database afterwards shows me the value text is truncated to 100 characters. Editing the value in ms access works flawless, and (and this is the part i dont understand at all), when replacing my ado connection object and command by an ODBC connection object and command, it works just fine, it inserts the complete text without truncation!

Anybody have an idea where this comes from? Should i specify some "long string" property in my connection object? Are there other ways to do this using ADO, because i dont really want to use ODBC, as i read in different places that it is actually deprecated stuff.

thanks

AnswerRe: insert text truncated in ADO, not in ODBC? Pin
toxcct22-Aug-05 20:23
toxcct22-Aug-05 20:23 
GeneralRe: insert text truncated in ADO, not in ODBC? Pin
ir_fuel22-Aug-05 22:28
ir_fuel22-Aug-05 22:28 
AnswerRe: insert text truncated in ADO, not in ODBC? Pin
Rob Graham23-Aug-05 2:32
Rob Graham23-Aug-05 2:32 
GeneralAccess tables providing only 65636 rows Pin
softty22-Aug-05 10:07
softty22-Aug-05 10:07 
GeneralRe: Access tables providing only 65636 rows Pin
softty28-Aug-05 7:50
softty28-Aug-05 7:50 
GeneralUPDATE the first n matching records Pin
Luis Alonso Ramos22-Aug-05 5:36
Luis Alonso Ramos22-Aug-05 5:36 
QuestionWhat does .net stand for? Pin
Tuwing.Sabado22-Aug-05 1:40
Tuwing.Sabado22-Aug-05 1:40 
AnswerRe: What does .net stand for? Pin
toxcct22-Aug-05 3:33
toxcct22-Aug-05 3:33 
Generalview Pin
magnifique22-Aug-05 1:12
magnifique22-Aug-05 1:12 
GeneralRe: view Pin
Frank Kerrigan23-Aug-05 0:08
Frank Kerrigan23-Aug-05 0:08 
GeneralRe: view Pin
magnifique23-Aug-05 0:14
magnifique23-Aug-05 0:14 
GeneralRe: view Pin
Frank Kerrigan23-Aug-05 0:37
Frank Kerrigan23-Aug-05 0:37 
GeneralSQL Server Pin
hung_ngole21-Aug-05 18:59
hung_ngole21-Aug-05 18:59 
GeneralRe: SQL Server Pin
Christian Graus21-Aug-05 19:23
protectorChristian Graus21-Aug-05 19:23 
GeneralRe: SQL Server Pin
Colin Angus Mackay21-Aug-05 23:01
Colin Angus Mackay21-Aug-05 23:01 
GeneralRe: SQL Server Pin
Mandar Patankar22-Aug-05 5:24
Mandar Patankar22-Aug-05 5:24 
GeneralRe: SQL Server Pin
Frank Kerrigan23-Aug-05 0:46
Frank Kerrigan23-Aug-05 0:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.