lobocheese
Programmer
Hi there, can this be done - here is the subquery that I'd like to use :
SELECT name
FROM dbo.sysobjects
WHERE (xtype = 'U' AND name LIKE 'd_ord%') AND (name NOT LIKE 'D_Ord_Act_Type')
Can this be incorporated into a Delete From clause?
if not there is only likely to be less than 100 tables fitting the criteria so I guess a loop would be acceptable too, thank-you!
SELECT name
FROM dbo.sysobjects
WHERE (xtype = 'U' AND name LIKE 'd_ord%') AND (name NOT LIKE 'D_Ord_Act_Type')
Can this be incorporated into a Delete From clause?
if not there is only likely to be less than 100 tables fitting the criteria so I guess a loop would be acceptable too, thank-you!