Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Data Warehousing / October 2004

Tip: Looking for answers? Try searching our database.

Insert Script

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Filippo Bettinaglio - 18 Oct 2004 13:47 GMT
Hi,

I have a table with some data in it, I would like to
generate one Insert script command for each record.

Is there a SQL Server tools for doing it?

I mean, this is my table:

NamesTbl

Name       Surname
-------------------------------------
Filippo    Bettinaglio
John       Gill
Nick       .....

the script genereted should be:
INSERT INTO NamesTbl (Name, Surname) VALUES
('Filippo', 'Bettinaglio')
INSERT INTO NamesTbl (Name, Surname) VALUES
('John', 'Gill')
....

thanks,
Filippo
Adam Machanic - 18 Oct 2004 17:13 GMT
There's a script here to do that:

http://vyaskn.tripod.com/code.htm

> Hi,
>
[quoted text clipped - 22 lines]
> thanks,
> Filippo
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.