Notes on SQLSaturday #14 in Pensacola
I'm just back from the event and it turned out very well, just over 170 attendees attending their choice of...
2009-06-08
901 reads
I'm just back from the event and it turned out very well, just over 170 attendees attending their choice of...
2009-06-08
901 reads
Just received these from Karla:
Expectations: 0 Did not Meet, 4 met, 6 Exceeded.
Overall quality: Zero 1's, Zero 2's, Zero...
2009-06-08
297 reads
PASS has a contest going to capture some of the great stories we know are out there - the ones that...
2009-06-08
338 reads
A little further off topic than usual, but this is one of the few tools that I've purchased that I...
2009-06-04
443 reads
Ran across this a while back and just getting to it, Seatguru is a site that lets you figure out...
2009-06-03
389 reads
I'm driving over tonight to spend a long weekend in Pensacola (6-7 hour drive from Orlando) for their first SQLSaturday,...
2009-06-03
470 reads
I flew up to Birmingham Friday for SQLSaturday #7 organized by John Baldwin from Steel City SQL and a lot...
2009-06-01
712 reads
Ken Starnes from the Portland group will be having their first event on June 6th. I like the way they've...
2009-06-01
298 reads
I bought Real Leaders Don't Do Powerpoint by Christoper Witt ($15 at Amazon) on a trip, Powerpoint catching my eye...
2009-05-28
1,745 reads
One of the labs I frequently do with students is to design a database for a training business, something which...
2009-05-27
1,453 reads
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...
It is Friday, the queries are running, and nobody is watching the bill. That...
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