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.
如何将“Ram's”或“I'm xxx”类型的单引号数据作为参数传递给存储过程?
您可以像这样调用存储的过程
exec stored_proc_name @param_name='Ram''s'
你需要用另一个引用来逃避引用
'Ram''s'