如何将文本(作为字符串的ID列表)传递给Sybase ASE存储过程
如何将文本(作为字符串列表作为字符串列表,因为我拥有长长的ID列表)将其传递给Sybase ASE存储过程调用?
如果我想将文本传递给存储过程调用,那么如何在Sybase查询中使用相同的文本?
创建过程collect_list( @ids_list文本 )
How to pass TEXT(the list of id's as a string as I have long list of id's) to sybase ase stored procedure call?
If I want to pass TEXT to stored procedure call then how can I use same TEXT in where IN query of sybase?
CREATE PROCEDURE Collect_List(
@ids_list TEXT
)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来这不是在查询中传递动态ID的有效方法。
您为什么不使用Temp Table来执行此操作?
Looks like this is not an efficient way to pass dynamic IDs in the query.
Why don't you use temp table to do it?