What are all the possible first-words of SQL statements?

后端 未结 1 1011
忘掉有多难
忘掉有多难 2021-01-20 08:45

I\'m building a user interface to be able to execute SQL statements on a SQL Server database, compatibility at SQL Server 2008 R2. I need to be able to determine whether eac

1条回答
  •  时光说笑
    2021-01-20 08:57

    That is not possible in the general sense. EXEC stored-procedure-name for example can eithers return a result set or not, depending on how the proc is written. There is no way to know if it's one or the other just from the syntax of the call.

    0 讨论(0)
提交回复
热议问题