简体   繁体   English

SQL Server是否接受特殊字符?

[英]Does SQL Server accept special characters?

Does SQL Server handle ASCII codes such as NUL, LF (line feed), CR (carriage return), space, etc? SQL Server是否处理ASCII码,例如NUL,LF(换行),CR(回车),空格等? I would like to know because I have a file from mainframe that contains special characters which I need to export to SQL Server as a text file. 我想知道,因为我有一个大型机文件,其中包含特殊字符,我需要将这些字符作为文本文件导出到SQL Server。 When I view the records (at the back end as hex code) in SQL Server I want to see those special characters as they were entered. 当我查看SQL Server中的记录(在后端为十六进制代码)时,我想查看输入的那些特殊字符。

Is this possible, and do I have to do anything special to have SQL Server maintain those characters? 这是否可能,并且我必须做些特殊的事情以使SQL Server维护这些字符吗?

它只是存储它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM