Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Storing data as varchar, but keeping breaks?

Author  Topic 

crugerenator
Posting Yak Master

126 Posts

Posted - 2007-06-11 : 16:14:05
Is it possible to store data as varchar and keep line breaks, spaces, indents, and all that stuff intact?

Thanks again for all the help.

dinakar
Master Smack Fu Yak Hacker

2507 Posts

Posted - 2007-06-11 : 16:16:10
Yes but all that has to come from the front end. Or Save the formatting as HTML and store the HTML in the varchar column and let the browser parse the output when you show the value to the user..

Dinakar Nethi
************************
Life is short. Enjoy it.
************************
http://weblogs.sqlteam.com/dinakar/
Go to Top of Page

crugerenator
Posting Yak Master

126 Posts

Posted - 2007-06-11 : 16:19:01
alright. thanks.
Go to Top of Page
   

- Advertisement -