SQL query

Tuesday, 26 July 2016

DROP PROCEDURE statements (all stored procedures delete Query generate)

SELECT 'DROP PROCEDURE [' + SCHEMA_NAME(p.schema_id) + '].[' + p.NAME + ']'
FROM sys.procedures p 
Posted by C# Sample Coding at 06:44 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Drop (delete) all tables In Database


Drop (delete) all tables In Database

exec sp_MSforeachtable 'DROP TABLE ?'
Posted by C# Sample Coding at 06:43 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2016 (3)
    • ►  September (1)
    • ▼  July (2)
      • DROP PROCEDURE statements (all stored procedures d...
      • Drop (delete) all tables In Database
  • ►  2015 (3)
    • ►  August (1)
    • ►  May (1)
    • ►  April (1)
  • ►  2014 (11)
    • ►  November (1)
    • ►  August (1)
    • ►  May (1)
    • ►  April (5)
    • ►  March (2)
    • ►  January (1)
  • ►  2013 (17)
    • ►  November (1)
    • ►  October (1)
    • ►  August (2)
    • ►  May (13)

About Me

My photo
C# Sample Coding
PHP
ASP.net
SQL query2008
SYSTEM BASIC
கை வைத்தியம்
சுவையான உணவு
http://kalaiy.blogspot.in
View my complete profile
Ethereal theme. Powered by Blogger.