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.
我正在数据库上运行查询以检索 CSV(带引号)格式的记录:
"Data","More data","some "funny" data with quotes","more".
"Data","More data","some "funny" data with quotes","more"
现在,当它被解析时,这个位有一个明显的问题:
...,"some "funny" data with quotes",...
有没有办法在sybase中“转义”这些引号来节省我的后期处理?
如果您只想在文字字符串中选择双引号,请使用单引号作为字符串的分隔符。
试试 select '"' 你会看到
--执行完这句话后:SET QUOTED_IDENTIFIER ON
--你将能够执行:select count(*) from "/table/name" go