Re: User Sync.

From: Carlos Eduardo Rojas (carloser@mindspring.com)
Date: 02/26/03


From: "Carlos Eduardo Rojas" <carloser@mindspring.com>
Date: Wed, 26 Feb 2003 15:16:36 -0500


Use the system stored procedure sp_change_users_login to change the
relationship between logins and users. There's more info about it in BOL
(books online).

--
Carlos E. Rojas
SQL Server MVP
Co-Author: SQL Server 2000 Programming by Example
"Manoj" <mgmanoj@hotmail.com> wrote in message
news:069a01c2ddce$00defb50$2f01280a@phx.gbl...
> Hi
>
> I have restored the database from other server & now if i
> try to create the user on new server & grant permission
> it gives error, user exist in database. My problem is
> user owns the objects so i can not delete from database.
> How to sync. the user permissions.
>
> thanks for the help
>
> Manoj


Relevant Pages

  • Re: Trouble connecting to IDS 11.5 development server using SQuirrel SQL with IDS JDBC driver.
    ... I'm presently working a Debian Linux 5.0 development server with IDS ... My instance and database have successfully ... connectivity to the database even when I have set up GRANT permission ... Informix JDBC driver loaded and configured? ...
    (comp.databases.informix)
  • Trouble connecting to IDS 11.5 development server using SQuirrel SQL with IDS JDBC driver.
    ... I'm presently working a Debian Linux 5.0 development server with IDS ... My instance and database have successfully ... The Informix JDBC driver has been loaded to ... connectivity to the database even when I have set up GRANT permission ...
    (comp.databases.informix)
  • Re: SQL server 2000 - database problem
    ... my database is strong corupted. ... database to server I see MSServer error 9004. ... Search for "suspect" in Books Online, and see if any of the topic you ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ...
    (comp.databases.ms-sqlserver)
  • Re: Moving databases to a different partition
    ... Right now I start "SQL Server Management Studio" and drill down to ... database settings properties. ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: Copy db to webhost server
    ... Back up/restore or Copy Database requires root access, ... I don't have on the webhost's server. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)