August 9, 2005 at 5:09 am
Is it possible to change the registration properties using TSQL? I want to change the User and Password settings.
Thanks
August 9, 2005 at 5:35 am
You can check & change logon and user properties using system stored procedures like
sp_addlogin
sp_adduser
sp_helplogins
sp_change_users_login
sp_dropuser
sp_helpuser
Regards,
gova
August 9, 2005 at 6:25 am
Hi Govinn,
Will any of these sps allow me to edit SQL Server registration properties (right click on database in EM)
Thanks
August 9, 2005 at 6:38 am
No, that is a client configuration. It is not stored in the server you connect to so you can't access it by T-SQL.
August 9, 2005 at 6:39 am
Most of the functions in EM are done by some sytem stored procedures. Run SQL - Trace. Do your modifications in EM. You will find the command in the trace.
If you are looking for a specific function many people in this forum will able to give an answer.
As Chris pointed - Server registration cannot be done with TSQL. If so it would be easy to register multiple servers like cake.
Regards,
gova
August 9, 2005 at 6:44 am
Ok, thank you both for your help anyway.
Regards
David
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply