Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Script insert statements
Message
De
08/12/2007 05:54:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01272318
Message ID:
01274135
Vues:
21
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I guess the answer is NO, but just in case - is there any way in SQL 2000 (or SQL Server 2005) to script actual insert statements for the table if there are only few rows?
>
>Or what is the easiest way to update tables from one computer to another?
>
>Thanks in advance.

Instead of scripting, wouldn't it be easier to detach or take offline from source and attach at target?
I use it to carry the db between work and home computer (provided it's not huge for carrying on USB stick or something like that).
-Detach
-Zip data files
-Attach

On target:
-Unzip
-Attach

Instead of scripting SQL server itself use this one or data as csv files to bulk load on target via a script. You may check SQL2008 CTP sample databases from codeplex.

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform