Muhammad Abbas - Data Engineering Architect
Pages
CV
Profile
BLOG
Search This Blog
Thursday, September 23, 2010
[T-SQL] Generate Delete script for all tables
You can use this script for generate delete script or even trncate
select 'delete from ' + o.name + ';'
from sysobjects o
where o.type = 'U';
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment