Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在数据库字段中存储(硬编码)回车。我只是找到了用编程语言(例如 TSQL 中的 char(13))来完成它的方法,但我只想在一个字段中由我自己编写它,就像它在 HTML 中发生的那样,带有 "、&nsbp 等......
谢谢
弗朗切斯科
原始 SQL:
INSERT MyTable (col1, col2) VALUES (1, ' ')
SSMS,编辑表模式下没有办法。
SET @SomeVar="你好 世界”。