SQL Server: how to create a stored procedure(SQL Server:如何创建存储过程)
问题描述
我正在从一本书中学习 sql,我正在尝试编写一个存储过程,但我不相信我做对了.以下方式在 Microsoft SQL 中无效吗?如果不是,它什么时候有效,如果有的话?
I'm learning sql from a book and I'm trying to write a stored procedure but I don't believe that I'm doing it correctly. Is the following way not valid in Microsoft SQL? If not, when is it valid, if ever?
我收到以下错误
消息 156,级别 15,状态 1,过程 wine_change,第 1 行关键字in"附近的语法不正确.
Msg 156, Level 15, State 1, Procedure wine_change, Line 1 Incorrect syntax near the keyword 'in'.
推荐答案
T-SQL
这篇关于SQL Server:如何创建存储过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!