Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP7 Login Form On SQL Server 2000
Message
De
16/05/2003 05:11:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
16/05/2003 05:03:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00789105
Message ID:
00789138
Vues:
34
>Hi Cetin
>
>Tnx for your help!
>
>Now About Copying user from one database to another could you please be more specific about the dts package.
>
>However i think it's gona be difficult do to it with a dts package because i know my source database but the destination database will be different each time.
>
>Is therere another way to do it programmatically?
>
>Tnx
>Anthi

DTS exists as a visual tool and as a programmable object. Check DTS on SQL server online help (DTS tool might be writing the script for you, I didn't try).
If passwords were not a matter (I don't know how to retrieve or even if you might ever do) you could use sp_helpuser and sp_addlogin to do it with T_SQL too.

OTOH SQL server login is included for backward compatibility. Maybe you might want to use NT security instead. But what you mean is database objects' security rights then you still need to do it.
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