Sybase, execute string as sql query

后端 未结 1 1651
南方客
南方客 2021-01-05 07:50

In Sybase SQL, I would like to execute a String containing SQL.

I would expect something like this to work

declare @exec_str char(100)
select @exec_         


        
相关标签:
1条回答
  • 2021-01-05 08:03

    You need bracketing:

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