79777694

Date: 2025-09-29 02:14:49
Score: 1
Natty:
Report link

Just wrap your toggling in a try catch block is the only way to do it without a lot of code, eg

begin try set indentity_insert MyTable on end try begin catch print 'it already on dummy' end catch

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Programnik