Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/72.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
查询MS SQL中的空白(&;nbsp;or\xa0)_Sql_Unicode_Ascii - Fatal编程技术网

查询MS SQL中的空白(&;nbsp;or\xa0)

查询MS SQL中的空白(&;nbsp;or\xa0),sql,unicode,ascii,Sql,Unicode,Ascii,当使用Python从MS SQL Server导出一些数据时,我发现我的一些数据看起来像computer\xa0systems,这导致了编码错误。使用SQL Management Studio,该行看起来只是双倍行距:计算机系统。这似乎是的代码:我如何在ManagementStudio中查询MS SQL Server以查找所有此类实例?像这样的事情,%%这样的ColumnName不起作用,对nbsp或\\xa0我使用了其中的列名,如“%”+CHAR(160)+“%” 160是“非中断空间”的as

当使用Python从MS SQL Server导出一些数据时,我发现我的一些数据看起来像
computer\xa0systems
,这导致了编码错误。使用SQL Management Studio,该行看起来只是双倍行距:
计算机系统
。这似乎是
的代码:我如何在ManagementStudio中查询MS SQL Server以查找所有此类实例?像
这样的事情,%%
这样的ColumnName不起作用,对
nbsp
\\xa0

我使用了
其中的列名,如“%”+CHAR(160)+“%”

160是“非中断空间”的ascii码。。根据您的\xao,十六进制为0xA0