Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Backslash
Message
De
27/10/2010 17:49:19
 
 
À
27/10/2010 17:44:49
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Divers
Thread ID:
01487286
Message ID:
01487288
Vues:
45
>I am trying to insert some data into a SQL Server table. One of the columns is a VARCHAR column with the possiblity of having some carriage return and line feed characters. The problem is that on a line that ends with a backslash followed by the carriage return and line feed characters, the backslash is being truncated. How can I preserve the backslash character?
>
>Here is a sample. Note the "crlf" characters are the actual carriage return and line feed characters, not acutal "c" "r" "l" "f" characters.
>
>Source:
>
>This is a test\crlf
>This is the second line.
>
>
>The actual data after insert:
>
>
>This is a test
>This is the second line.
>
PRB: Proper Handling of the Escape Sequence \ < cr > < lf >
http://support.microsoft.com/kb/164291/en-us
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform