Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update one SP in many databases
Message
De
16/03/2007 04:04:48
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
16/03/2007 03:59:39
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01204396
Message ID:
01204403
Vues:
23
>Thanks for your fast reply
>I place several new sp in one file named update.sqlor update.txt
>
>how can I can Call this sql programically
>Thanks
>such as
>Use branch1
>do update.sqll...... etc

First it's common to use .sql as extension. Second check osql,wsql.

If you're putting it inot a file then you could simply open that in query analyzer and execute:

use db1
go
sp
go
use db2
go
sp
go
use db3
go
sp
go
...

Agnes you have VFP, no? You could simply do it via SQLExec().
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
Répondre
Fil
Voir

Click here to load this message in the networking platform