Sabtu, 02 November 2013
ASP.Net, C#, SQL Server Information
Posted on 05.09 by andi avdy
ASP.Net, C#, SQL Server Information | |
| Delete all the rows from all the tables in SQL Server Posted: 01 Nov 2013 11:58 AM PDT If you are in situation where you just want empty database structure, without having data in it. Run following select statement which will generate set of delete statement to delete all the records for all the tables in your database. SELECT 'Delete from ' + Table_Catalog + '.' + Table_Schema + '.' + Table_Name + ';' FROM INFORMATION_SCHEMA.TABLES WHERE Table_Type = 'BASE TABLE' ORDER by |
| You are subscribed to email updates from ASP.Net, C#, SQL, JQuery, Sharepoint To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
| Google Inc., 20 West Kinzie, Chicago IL USA 60610 | |
Langganan:
Posting Komentar (Atom)
No Response to "ASP.Net, C#, SQL Server Information"
Leave A Reply