Pages

Thursday, November 17, 2011

Script to delete everything in all tables in database.

select

'Delete from ' + convert(varchar(max),name)

from sys.tables

No comments:

Post a Comment