I'm trying to use a new syntax for a delete statement. I have never used an alias directly after the delete statement. Is this the correct format?
delete a
from FirstTable a
inner join @tablevariable b
on a.column1 = b.column1
I'm trying to use a new syntax for a delete statement. I have never used an alias directly after the delete statement. Is this the correct format?
delete a
from FirstTable a
inner join @tablevariable b
on a.column1 = b.column1
This is how I would test the statement
Begin tran
select a.*
from FirstTable a
inner join @tablevariable b
on a.column1 = b.column1
delete a
from FirstTable a
inner join @tablevariable b
on a.column1 = b.column1
select a.*
from FirstTable a
inner join @tablevariable b
on a.column1 = b.column1
rollback tran