Definately you could generate script for those DDL.
Right click on Database name, select All Task, select Generate SQL Script , After that define the scripts which you want to create (Pretty descriptive, if you still have problem, let me know)
I may be wrong.Does anybody know how to generate script for data in a table?
You will have problems about the ordering of operations if you have foreign keys.
======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Hi Friends,
I have a similar question as Adhie and nigelrivett seems to say that Generating table Data with SQL Scripts is possible. I am using SQL Enterprise Manager version 8.0 and donot see any option of including data in the generated script. Can someone help me with this.
Thanx in advance,
Phani
The link I have given above is an SP to create insert statements.
It is quicker to use bcp though.
======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.