Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP7 Login Form On SQL Server 2000
Message
From
16/05/2003 05:11:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
16/05/2003 05:03:56
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00789105
Message ID:
00789138
Views:
36
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform