This script will generate create table script for given tables.
First execute “CREATE OBJECTS SCRIPT” script for create a testing environment and then execute above script. This script will print the create table script. Now copy the script and execute it. And finally don’t forget execute the “DROP or CLEAR OBJECTS SCRIPT”, which is in the end of script.
I know most of people say that we can generate create table script through SSMS (Sql Server Management Studio) then why we go for this?
Frankly speaking, I have no answer for this. I just want to myself for learn some internal of sql and I learnt so much.
Here, I am just sharing this.
I hope this will help you. Your comments are most welcomed.
Keep Learning, Keep Growing!!!