x

Programming with Vbscript

Hello,

I'm looking for Vbscript syntax that will help me to add a user and login, modifying role member and rights for a database using SQL-DMO.dll. My SQLServer is SQLServer 2000.

Can You help me.

Thancks

more ▼

asked Feb 02 '10 at 11:15 AM in Default

Jean-François SEMON gravatar image

Jean-François SEMON
3 1 1 1

(comments are locked)
10|1200 characters needed characters left

1 answer: sort newest

Some nice samples here. Not adding uses , but it may give you an idea

http://www.sqlmag.com/Article/ArticleID/20105/sql_server_20105.html

more ▼

answered Feb 02 '10 at 11:46 AM

sp_lock gravatar image

sp_lock
9k 24 27 30

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x30
x19
x3

asked: Feb 02 '10 at 11:15 AM

Seen: 1127 times

Last Updated: Feb 02 '10 at 11:16 AM