How To: Generate script for database

How To: Generate script for database

83
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 12:57 PM


Objective


Please follow these steps to generate a script export of your database structure in Microsoft SQL Server.

 

Note*: This will NOT export any data, only the structure of the database.



Environment


TPP/TLSPDC TLSPDC

Procedure


  1. Open SQL Server Management Studio and connect to the target SQL instance.
  2. Expand Databases folder.
  3. Right-click on the TPP database > Tasks > Generate Scripts.
  4. On the Introduction dialog, click Next.
  5. On the Choose Objects dialog, leave the default option (Script entire database and all database objects) and click Next,
  6. On the Set Scripting Options dialog, choose “Save as script file”, notate the file location, and click Next.
  7. On the Summary dialog, click Next.
  8. The generation should begin and show success when completed.
  9. On the Save Scripts dialog, click Finish.
  10. Locate the generated file and upload it to the case.
  11. Process complete.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000u0fCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail