2

Is there a feature in sql server 2008 management studio to generate database create scripts from existing database without data and with all the relationships maintained.

SRA
  • 1,681
  • 7
  • 27
  • 49

3 Answers3

1

Go into: Tasks > Generate Scripts Then,

in Choose Script Options set Scrpit Data = False (default)

Piotr Dajlido
  • 1,982
  • 15
  • 28
vinhvoz007
  • 11
  • 1
1

Yes, of course.

ceth
  • 44,198
  • 62
  • 180
  • 289
-3

In SSMS, right click the db and select "Script database as Create to"... whatever you want

iDevlop
  • 24,841
  • 11
  • 90
  • 149