Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Line breaks in the field - how can I see them?
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01293940
Message ID:
01293966
Vues:
18
>Hmm, and with this:
>
>SELECT REPLACE(REPLACE(YourField, CHAR(13),'~'),CHAR(10), '#')
>       FROM YourTable
>
>(check the syntax, I didn'y :o))

Oops, I was looking originally at the wrong column (I selected everything).

With the new code I see
First line~#Second line~#Third line~#~#Fifth Line
The original code also worked, so they are indeed line breaks, just don't visible in SQL Server IDE.

Now, why they are not displayed properly on the page when it's created? :(
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform