Using this System SP we can delete or select all table data from a SQL SERVER database.
EXECUTE sp_MSforeachtable ‘select * from ?’
EXECUTE sp_MSforeachtable ‘DELETE FROM ?’
June 25, 2009
Using this System SP we can delete or select all table data from a SQL SERVER database.
EXECUTE sp_MSforeachtable ‘select * from ?’
EXECUTE sp_MSforeachtable ‘DELETE FROM ?’
Leave a comment