I have generate a "schema only " database script for my staging database, using sql server 2008 r2 . now i need to execute the script to create the same database including (table, column, keys, etc) inside the production server. so my question i how i can execute the script inside the production server.
Second question; currently i have generate the script to include only the schema, but i have some look-up tables which i need to move its data from staging to production. so my question is how i can generate a script that copy the schema or the whole database , and also copy the data for specific tables ?
Thanks