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.
SQL Server Management Studio 中是否可以要求用户输入并基于该输入继续?
我有一个将一些数据插入表的存储过程。当用户执行存储过程时,我希望出现一条消息,询问他是否确定要执行存储过程。
如果响应是,则继续,如果否,则终止。
我建议编写一个小应用程序来处理这个问题。我不知道在运行 sql 时有什么方法可以提示用户输入。IMO Sql Management Studio 不是运行需要用户输入的脚本的环境