db script for all storedprocedures,functions and tables for one time in database

  • db script for all stored procedures and tables for database in one time to particular location.

  • Have you google it ? i am not sure you can get any script which will work for both table and SP. but individual script will be there. So happy hunting 🙂

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • can you please send me the db script for tables for one database. I want to store into one text file.

  • You need to generate the script. You can use SQL Server Management Studio (SSMS) to generate the script. It's the easiest way. If that doesn't do what you need, you can use SQL Server Management Objects (SMO) with a programming language (I prefer PowerShell) to generate scripts differently. But no one can give you the script for your database. You need to generate it.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply