Click here to Skip to main content
15,905,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a database in that 50 tables are there... I need to backup the database without datas in table
Posted
Comments
Prasad_Kulkarni 16-Mar-12 8:11am    
Not gettin clear idea.
"without datas" means??
itsureshuk 16-Mar-12 8:32am    
all table datas no need....i need only table structure

1 solution

In SSMS, goto your database and right mouse -> Tasks -> Generate Scripts

wizard opens. Next through, choose all the objects you want to script. By default, it will only script the schema. You can dump it to a file, or new query window etc

You can actually choose to script data here if you like, it's a useful feature :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900