Tool Review: Quicken
I've used Quicken for a long time now and it's the center of how I manage finances at home. There...
2008-08-25
1,367 reads
I've used Quicken for a long time now and it's the center of how I manage finances at home. There...
2008-08-25
1,367 reads
One of the things I teach in our admin course is that it's not enough to just be the gatekeeper/central...
2008-08-24
1,443 reads
The following was sent to me by my friend and colleague Dave Miller:
Dave's Email:
Wanted to pass along something I hadn't...
2008-08-21
1,626 reads
In a week and a half, I start on the first of my four trips this year for work, and...
2008-08-21
1,459 reads
As I write this a tropical storm is passing over Orlando and has turned out to be milder than expected...
2008-08-21
1,401 reads
I got my first opportunity to visit New York City last week. I was actually sitting in on a training...
2008-08-20
1,554 reads
Registration has been open for only a few weeks and we've got 110 registered so far, a nice start! We...
2008-08-20
1,460 reads
I was visiting with a client recently when they asked me to come take a look at an incident in...
2008-08-20
1,368 reads
Actually it was subset of the group, but Kathi & Julie from the St Louis SQL Server User Group did a...
2008-08-19
1,419 reads
Andy Warren made a trip to St. Louis this past weekend to put on a speaker workshop for our user...
2008-08-19
1,321 reads
With Fabric Mirroring, Microsoft is promoting a nice and appealing story for operational reporting...
If you’ve been watching AI roll through the data community and thinking, “this seems...
By Arun Sirpal
Not every production incident is a database in RECOVERY_PENDING or a corrupted event (like...
Comments posted to this topic are about the item SQL Art, Part 4: Happy...
Hi All I am trying to find 'bad' characters that users might type in....
Comments posted to this topic are about the item Extreme DAX: Take your Power...
I set up a few users on my SQL Server 2022 instance.
CREATE LOGIN User1 WITH PASSWORD = 'Demo12#1' CREATE USER User1 FOR LOGIN User1 GO CREATE LOGIN User2 WITH PASSWORD = 'Demo12#2' CREATE USER User2 FOR LOGIN User2 GO CREATE LOGIN User3 WITH PASSWORD = 'Demo12#3' CREATE USER User3 FOR LOGIN User3 GOI then created a schema that one of them owned. Under this schema, I added a table with some data.
CREATE SCHEMA MySchema AUTHORIZATION User1
GO
CREATE TABLE Myschema.MyTable(myid INT)
GO
INSERT MySchema.MyTable
(
myid
)
VALUES
(1), (2), (3)
GO
SELECT * FROM MySchema.MyTable
GO
I granted rights and verified that User2 could access this table.
GRANT SELECT ON Myschema.MyTable TO User2 GO SETUSER 'USER2' GO SELECT * FROM MySchema.MyTable GOThis worked. Now, I move this schema to a new user.
ALTER AUTHORIZATION ON SCHEMA::Myschema TO User3; GOWhat happens with this code?
SETUSER 'USER2' GO SELECT * FROM MySchema.MyTable GOSee possible answers