Speaking / Teaching Engagements
I should have put this out earlier, before going to the SQL Server Innovators Guild, but I got too busy....
2009-02-06
692 reads
I should have put this out earlier, before going to the SQL Server Innovators Guild, but I got too busy....
2009-02-06
692 reads
Last week I posted Update #3 that discussed my first board meeting, but I didn't have time to cover my...
2009-02-05
402 reads
As part of its advance notification, Microsoft has released the list of security bulletins that should be coming our way...
2009-02-05
829 reads
I've been busy with other projects and haven't had time to focus as much as I'd like on my SQLSaturday...
2009-02-05
487 reads
This is in the presentation I've given a few times, but I thought it made some sense to put these...
2009-02-05
1,818 reads
If you're thinking about taking a job as a manager there are two questions that will help you quickly understand...
2009-02-04
953 reads
There are only a few more days before the call for speaker for European PASS ends, on Saturday, February 7th,...
2009-02-04
461 reads
One of the neat things about the Kindle is that you can change font sizes. It's mentioned in many reviews,...
2009-02-04
672 reads
The fifth annual South Florida Code Camp is coming up this Saturday, Feb 7, 2009, at Devry University, 2300 SW...
2009-02-04
282 reads
If you are interested in speaking at DevTeach/SQLTeach in Vancouver, BC this June 8-12, you have until February 10, 2008...
2009-02-03
471 reads
By Steve Jones
It’s Prime Day. A few of my recommendations, since I want to do some...
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...
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