Use SET NOEXEC ON before and SET NOEXEC OFF after script. once you'll execute it will only create compilation plan for SQL script but it will not make any update/changes into data table.
--verify SQL script
SET NOEXEC ON
--your SQL script
SET NOEXEC OFF
![]() |
Add caption |