From: Zaur Bahramov on
Hi!

Is there a way to create a script from the existing database, Adventure
Works for example? I mean, some way to export not only a table structure,
for example, but also data into a sql script, so that if I run it, it will
create me both table and insert all data. Is it possible to script the
entire database also?


Zaur


From: vinu on
Zaur,

See Integration Service/BCP in BOL

vinu

"Zaur Bahramov" <zbakhramov(a)msn.com> wrote in message
news:u6BdUnb3IHA.3348(a)TK2MSFTNGP03.phx.gbl...
> Hi!
>
> Is there a way to create a script from the existing database, Adventure
> Works for example? I mean, some way to export not only a table structure,
> for example, but also data into a sql script, so that if I run it, it will
> create me both table and insert all data. Is it possible to script the
> entire database also?
>
>
> Zaur
>
>


From: Tibor Karaszi on
Some elaborations on tools and options: http://www.karaszi.com/SQLServer/info_generate_script.asp

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


"Zaur Bahramov" <zbakhramov(a)msn.com> wrote in message news:u6BdUnb3IHA.3348(a)TK2MSFTNGP03.phx.gbl...
> Hi!
>
> Is there a way to create a script from the existing database, Adventure
> Works for example? I mean, some way to export not only a table structure,
> for example, but also data into a sql script, so that if I run it, it will
> create me both table and insert all data. Is it possible to script the
> entire database also?
>
>
> Zaur
>
>
From: Uri Dimant on
Zaur
Take a look www.red-gate.com

"Zaur Bahramov" <zbakhramov(a)msn.com> wrote in message
news:u6BdUnb3IHA.3348(a)TK2MSFTNGP03.phx.gbl...
> Hi!
>
> Is there a way to create a script from the existing database, Adventure
> Works for example? I mean, some way to export not only a table structure,
> for example, but also data into a sql script, so that if I run it, it will
> create me both table and insert all data. Is it possible to script the
> entire database also?
>
>
> Zaur
>
>