Click here to Skip to main content
13,252,815 members (51,017 online)
Click here to Skip to main content
Articles » Database » Database » General » Revisions


8 bookmarked
Posted 24 Feb 2010

How to empty SQL Server 2005 database using cursor & sys.objects (Deleting All Tables, stored procedures, views & UDF’s)

, 24 Mar 2010
Understrading sys.objectsSys.objects is a system VIEW in SQL Server 2005, for each SQL database there is a separate sys.object view which gets stored within databse itself.Using Sys.objects returns list of all database objects and its types, type can be either of given below:DB OBJECT...



Compare Revision Minor Date Status Editor
6 - publicly available No 24-Mar-10 11:10 Available Sean Ewington
5 No 24-Mar-10 11:10 Composing Sean Ewington
4 No 24-Feb-10 3:36 Composing kiran dangar
3 No 24-Feb-10 3:35 Composing kiran dangar
2 No 24-Feb-10 3:33 Composing kiran dangar
1 No 24-Feb-10 3:26 Composing kiran dangar


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

kiran dangar
Software Developer (Senior) Gateway Technolabs Pvt. Ltd
India India
Having 4+ years of Technical Experience in,, SQL Server 2008,AJAX, XML,JQuery, JavaScript, .net framework, WCF, WPF/Silverlight,SSIS, SSRS, MVC.

While not working loves Photography and bike riding. Playing computer games are the best stress buster for him Smile | :)

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.171114.1 | Last Updated 24 Mar 2010
Article Copyright 2010 by kiran dangar
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid