sql server - sp_executesql with a string from db -


How can I get a record (like 'Select 1') from a record and make it eval it Pass sp_executesql

something like that?

  DECLARE @MySQL nvarchar (MAX) SELECT @MySql = MyClable to SqlColumnMyId = 1 EXEC (@MySql)  

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -