INF: ISQL Does Not Send Carriage Returns to SQL ServerID: Q70246
|
When ISQL is used to insert text or varchar data into Microsoft SQL Server, the data length of the resulting column entry might not be as expected.
ISQL appends a linefeed character at the end of each line of input when
sending the data to SQL server. If the input file contained a carriage
return-linefeed combination the length of the data stored may appear to be
wrong because the carriage return characters are never inserted into
the database.
For example if we create a file input.sql as follows:
INSERT INTO MYTABLE VALUES("123
456")
go
>isql /Usa /iINPUT.SQL
Additional query words: isql Windows NT
Keywords : kbtool SSrvISQL SSrvProg SSrvTran_SQL SSrvWinNT
Version : 4.2 | 4.2 | 4.2
Platform : MS-DOS OS/2 WINDOWS
Issue type :
Last Reviewed: March 11, 1999