Forum Discussion

Noob2022's avatar
Noob2022
Copper Contributor
Nov 08, 2023

Dynamic SQL help?

Perhaps someone can help with what I'm trying to achieve. I'm lost at number of ticks and where. I'm trying to make this execute with sp_executesql.  select 'alter database ['+ name + '] SET ONLIN...