anilkullam
asked on
username instead of dbo while creating the table
https://www.experts-exchange.com/questions/26855708/Unable-to-view-jobs-in-sql-server-2000.html
This is on continuation to the Q that the link refers to:
When the user is trying to create a table..it is showing as [username].[tablename] instead of [dbo].[tablename]
This is on continuation to the Q that the link refers to:
When the user is trying to create a table..it is showing as [username].[tablename] instead of [dbo].[tablename]
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
so, in the DTS, they have to prefix the table names also by the schema name ...
what have you got the users default schema set to?
ASKER
nothing...they were existing users on the server....prefixing the names to the DTS i think no...they were just executing them and no inputs and it is after getting the error that they can get to know that something is wrong
ASKER
how do I change schema for this particular user in sql server 2000.
starting 2005 we will be able to do this the following way but I need to do it in SQL Server 2000... help guys
USE AdventureWorks2008R2;
ALTER USER Mary51 WITH DEFAULT_SCHEMA = Purchasing;
GO
starting 2005 we will be able to do this the following way but I need to do it in SQL Server 2000... help guys
USE AdventureWorks2008R2;
ALTER USER Mary51 WITH DEFAULT_SCHEMA = Purchasing;
GO
ASKER
@lowfatspread:Im not sure if we can set default schema in sql server 2000 since schema is introduced in 2005, however can u pls share ur views on the same
Also sorry for the extended delay
Also sorry for the extended delay
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
finally I gave admin rights since they were also part of the group and guess it fixed the prob since they didnt complain further and also with sa rights the schema will be default as dbo even in sql server 2000.
ASKER