Re: who is the owner..
From: Aaron Bertrand - MVP (aaron_at_TRASHaspfaq.com)
Date: 05/18/04
- Next message: dev: "Re: who is the owner.."
- Previous message: Pissed: "RE: ToolKIt Example ... MSDE Bootstrap Loader already running"
- In reply to: dev: "who is the owner.."
- Next in thread: dev: "Re: who is the owner.."
- Reply: dev: "Re: who is the owner.."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 18 May 2004 14:02:33 -0400
I don't understand the problem.
CREATE TABLE dbo.tablename(// table definition //)
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON dbo.tablename TO myuser
GO
-- Aaron Bertrand SQL Server MVP http://www.aspfaq.com/ "dev" <anonymous@discussions.microsoft.com> wrote in message news:1DAD8AEB-6B1F-48F2-A2EC-098B4610DAD3@microsoft.com... > Hi, > > In various posts here and there I read that > 1> if using SQL Authentication then instead of using the sa login to access the instance, we should create a new login (and it's new mapped user )and use it for our applications' interaction with the db. > 2> that the dbo should remain the owner of the databases and also > 3> that the owner of the database is the user who created it. > > So if I follow 1> above then how can I ensure 2>. What is the way to achieve this. I mean to have my own login and user (let's talk about a system where my app talks to the db always as one user, for e.g. myuser) but still have dbo as the owner of my tables etc... > > Am I making sense. > > Thanks again.
- Next message: dev: "Re: who is the owner.."
- Previous message: Pissed: "RE: ToolKIt Example ... MSDE Bootstrap Loader already running"
- In reply to: dev: "who is the owner.."
- Next in thread: dev: "Re: who is the owner.."
- Reply: dev: "Re: who is the owner.."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|