Sabtu, 02 November 2013

ASP.Net, C#, SQL Server Information

Posted on 05.09 by andi avdy

ASP.Net, C#, SQL Server Information

Link to ASP.Net, C#, SQL, JQuery, Sharepoint

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

No Response to "ASP.Net, C#, SQL Server Information"

Leave A Reply