ADMIN_DROP_SCHEMA to drop a schema

Posted by: DBA DB2, on 02 Aug 2011 | View original | Bookmarked: 0 time(s)

I use ADMIN_DROP_SCHEMA  to drop a schema and its objects.  The main advantage of using the procedure , instead of writing a customised script is there could be routines such as stored procedures or UDFs with cross dependencies and require to be dropped in a certain order.  An example is CALL SYSPROC. ADMIN_DROP_SCHEMA ( schema_name, NULL, 'error_table_schema','error_table_name') ---Use this sql to view the errors: SELECT * FROM error_table_schema.error_table_name Certain objects...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: XSD | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 398 | Hits: 9

Similar Posts

  • Introducing SharePoint 2010 Training at U2U more
  • Issue 50 - DotNetNuke 5 Admin Modules Access, Reset Logins, iPhone OWS more
  • How to Limit Access to Administrator Modules in DotNetNuke 5 - 5 Videos more
  • Using SqlBulkCopy To Perform Efficient Bulk SQL Operations more
  • Web Deployment Tool has gone RTW more
  • How to create a DropDownList with ASP.NET MVC more
  • WPF Release History : Q2 2009 (version 2009.2.701) more
  • Understanding XML Schema Sets in the XSD Designer more
  • A Localization Handler to serve ASP.NET Resources to JavaScript more
  • Generic WPF Drag and Drop Adorner more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD