SQLSaturday Orlando Planning Meeting on May 23, 2009
We'll be meeting at Chipotle in Altamonte Springs on May 23, 2009 at 11:30 am to discuss plans for the...
2009-05-19
557 reads
We'll be meeting at Chipotle in Altamonte Springs on May 23, 2009 at 11:30 am to discuss plans for the...
2009-05-19
557 reads
For the past couple years I've been using a Targus (I think the model 300 right now) and they've been...
2009-05-18
892 reads
I stopped by Compusa on the way home to pick up a package of blank DVD's and did the 10...
2009-05-18
783 reads
I went over last night to do a presentation to the group managed by Bonnie and Lynn. Had 11 in...
2009-05-15
640 reads
I've been reading What Got You Here Won't Get You There by Marshall Goldsmith over the past couple months, and...
2009-05-13
763 reads
Our most recent meeting was May 12, 2009, and we had 23 attendees. We started off the evening with news...
2009-05-13
590 reads
I'm still learning and experimenting on the networking side, thought I'd share a few things I've seen or tried lately....
2009-05-12
626 reads
It's been a slower pace since the last update. Grant and I are working on the publication process for content...
2009-05-12
750 reads
SQLServerCentral had a press release today about attending the Summit and the networking opportunities, something that I've been blogging about...
2009-05-12
878 reads
As I've mentioned in earlier posts (Part 1, Part 2, Part 3) I've engaged speaking and networking Don Gabor to help me build my skills. I recently had my second coaching session and wanted to share more of what I've learned so far.
2009-05-11
1,479 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