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.
我无法理解 T-SQL 中以下代码的 xml 行模式。
OPENXML(@hDoc, N'//item')
我在 msdn 中找到的所有示例都是这样的/ROOT/Customer,但我不明白 N'//item'
/ROOT/Customer
N'//item'
有任何想法吗?
SQL Server 中的N任何字符串之前的将字符串标记为 Unicode。
N
char/varchar/text本质上,和之间的区别nchar/nvarchar/ntext。
char/varchar/text
nchar/nvarchar/ntext