Re: SQL 2000 in a Workgroup - Problem with DBO.xxx
From: Jasper Smith (jasper_smith9_at_hotmail.com)
Date: 07/14/04
- Next message: Beeeeeeeeeeeeves: "DTS permissions?"
- Previous message: Govil: "Need Help on Linked Server ??? urgently ?? Please"
- In reply to: Daren Hawes: "SQL 2000 in a Workgroup - Problem with DBO.xxx"
- Next in thread: Daren Hawes: "Re: SQL 2000 in a Workgroup - Problem with DBO.xxx"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 14 Jul 2004 12:53:44 +0100
On your web host can you create a table owned by dbo explicitly e.g.
create table dbo.test(a int)
It sounds like you may be in the db_owner or ddl_admin role for your
database on your host. In order to create objects in the dbo schema you will
need to explicitly specify dbo.objectname when creating objects.
-- HTH Jasper Smith (SQL Server MVP) http://www.sqldbatips.com I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Daren Hawes" <newsgroups@webdesignmagic.com.au> wrote in message news:u%23%23gnZZaEHA.3476@tk2msftngp13.phx.gbl... > Hi, > > I have a win xp pro workgroup using simple sharing (No Logins > Neccessary) and have a Database owner issue. > > I have a seperate machine called "Server" with win xp pro on it and SQL > 2000 SP3a installed. > > To create a Database I must go into that machine, create the DB and > assign that particular DB (Say "Pubs") a user. I give it a username > "WDMUsername" and password "WDMPassword". > > I then use Enterprise Manager on another machine using the previous > logins and all is fine... Simple Stuff. > > Now I have a web host who uses SQL 2000 as well. Now if I DTS down to > my server a DB from them it creates all the tables by the owner ie > dbo.publishers, dbo.authours. > > Now I add a new table and it makes a new table, but with > wdmusername.newtables. I can even add a new table called publishers and > it calls it wdmusername.publishers I now have 2 Publishers tables! > > How can I have a global login using my current workgroup in simple > sharing mode and do the following. > > 1. Firstly create the DB from another machine using Enterprise Manager > under the Owner account (IE dbo.table) > > 2. Create tables with the dbo.table format instead of wdmusername.table > format from any machine using Enterprise Manager. > > In a nutshell, by assigning a user to an individual DB and then using > that username to login is not working. > > Can I remove some security and have it create tables under the dbo. > username from any machine using Enterprise Manager? > > PS In the user setup I do the top 2 checkboxes 1 being owner? > > Please help!! > > > > *** Sent via Developersdex http://www.developersdex.com *** > Don't just participate in USENET...get rewarded for it!
- Next message: Beeeeeeeeeeeeves: "DTS permissions?"
- Previous message: Govil: "Need Help on Linked Server ??? urgently ?? Please"
- In reply to: Daren Hawes: "SQL 2000 in a Workgroup - Problem with DBO.xxx"
- Next in thread: Daren Hawes: "Re: SQL 2000 in a Workgroup - Problem with DBO.xxx"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|