What do u mean by orphan users, how will u list them in the
DB
Answers were Sorted based on User's Feedback
Answer / raghu_iteamic
exec sp_change_users_login 'Report'
Running the following query on destination server where
database as been moved to list orphan user
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / karthik
Orphan User : NO login id or password are not associated
with user.
exec sp_change_users_login 'Report' (It helps to find the
orphan user)
Exec sp_change_user_login 'auto_fix','loginname',null(It
helps to map the user with login)
| Is This Answer Correct ? | 6 Yes | 0 No |
‘Order by’ is not allowed in a view how can you sort information from a view?
How to transfer an existing table from one schema to another schema in ms sql server?
Why do we need normalization?
What are mdf,ndf,ldf files and how to see the data in those files?
What is sql profiler. What are the default templates with it? : sql server database administration
How do you delete a trigger?
You schedule a job to run every minute what will happen if the first job runs more than 1 min? Will the second instance of the job start?
Define tool Manage Statistics in SQL Server 2000 query ?
what's the difference between a primary key and a unique key? : Sql server database administration
In the below query i have performed the commit transaction statement but still the values after the save are not saved. Can you please let me know why are the statements after save are rolled back even after commiting the data. help me with the understanding declare @trans2 varchar(10)='transaction2' begin transaction @trans2 insert into emp values(100,'xy',600); save transaction @trans2 insert into emp values(200,'pq',700); insert into emp values(300,'pq',800); commit transaction @trans2 rollback tran @trans2
What is the difference between Stored Procedure , Function and Package, 1. how many blocks in Package and what are they.
How to write query to Delete the records in child table and corresponding records in parent table
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)