Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft SQL Server > Re: Dump table ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 10970 of 11516
Post > Topic >>

Re: Dump table as INSERTs

by Pasi Oja-Nisula <pon@[EMAIL PROTECTED] > Apr 16, 2008 at 08:05 PM

On 2008-04-16, D.Stone@[EMAIL PROTECTED]
 <D.Stone@[EMAIL PROTECTED]
> wrote:
> Is there an easy way to create a SQL script to re-create and re-
> populate a table?
> Both Enterprise Manager 8.0 and Management Studio Express 2005 will
> generate the CREATE TABLE, but they only seem to produce a generic
> INSERT statement with place-holders instead of values. Not ideal for
> any table with more than 10 rows!

Yes, it's handy for those cases where you have some rows but not
really much, since then you need bcp anyway.

I'm using Aqua Data Studio and it has ex****t data functionality
where you can select the table and it creates the inserts. Or you
can also script the table and inserts at the same time.

I'm sure lots of other database management ide/toolbox/whatever products 
have similar options available. It actually is useful to invest some
time in trying out these external utilities. After using ADS for some
years, there's no way I'm going back to Enterprise manager or 
SQL Management studio.

Pasi
 




 2 Posts in Topic:
Dump table as INSERTs
D.Stone@[EMAIL PROTECTED]  2008-04-16 08:00:25 
Re: Dump table as INSERTs
Pasi Oja-Nisula <pon@[  2008-04-16 20:05:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 23:19:59 CST 2008.