Connecting Tech Pros Worldwide Help | Site Map

How can i have a copy of entire databse with out data??

ganeshkumar08's Avatar
Newbie
 
Join Date: Jan 2008
Posts: 31
#1: Apr 21 '08
Hi all,

Using generate scripts i generated the database script file and executed,
i got an error.

How to copy the entire database without data.

Can any one help me..

Ganesh
ck9663's Avatar
Expert
 
Join Date: Jun 2007
Posts: 1,925
#2: Apr 21 '08

re: How can i have a copy of entire databse with out data??


What error did you get?

-- CK
ganeshkumar08's Avatar
Newbie
 
Join Date: Jan 2008
Posts: 31
#3: Apr 22 '08

re: How can i have a copy of entire databse with out data??


Its a SP error, which i did mistake..
Can u tell the procedure to generate script, i need to have script like this...
I should not even create a new database, the script should have create new database also..

Can u pls tell me...
ck9663's Avatar
Expert
 
Join Date: Jun 2007
Posts: 1,925
#4: Apr 22 '08

re: How can i have a copy of entire databse with out data??


Are you planning to copy a database? Or just create a new one?

Why not just create a new one? Try this

-- CK
ganeshkumar08's Avatar
Newbie
 
Join Date: Jan 2008
Posts: 31
#5: Apr 25 '08

re: How can i have a copy of entire databse with out data??


I need all the Table, SP, View, Schema scripts.
So, using this scripts i want to execute in another server. My requirement is i need to generate a DB script file which should be executed in another server. So, while executing the script the database also must created with tables, SP, View, Schema etc..
Reply


Similar Microsoft SQL Server bytes