0

I have some textual data which comprises of form feed characters (FF) as I see in Notepad++. I need to insert this data into a MS-SQL table cell.

I created a table with nvarchar datatype and tried adding this data, but it didn't work. I then redesigned the table and tried using the text datatype, but it still didn't work.

Any ideas on how I can insert data of this sort into a SQL table?

Please consider the data somewhat like the this:

Alex Smith
FF
John Doe
FF
Smith Jones
FF
4

1 回答 1

0

这可能会对您有所帮助。您将需要在 SQL 中使用换行符

http://blog.sqlauthority.com/2007/08/22/sql-server-t-sql-script-to-insert-carriage-return-and-new-line-feed-in-code/

于 2013-03-19T23:07:46.597 回答