SQLSaturday#59 - It's A Wrap! - Summary of Our Saturday...
SQLSaturday#59 went off without a hitch! It was one awesome fun-filled day with our great speakers, sponsors, volunteers, and hundreds...
2010-11-21
1,153 reads
SQLSaturday#59 went off without a hitch! It was one awesome fun-filled day with our great speakers, sponsors, volunteers, and hundreds...
2010-11-21
1,153 reads
SQLSaturday#59 Special Interview with Melissa Demcsak, aka SQLDiva
Only two days left until our super SQLSaturday#59 event. Hope all is well...
2010-11-18
795 reads
SQLSaturday#59 is only a mere 3-days away! Today, I am bringing you a sponsor profile for our participating vendors, who...
2010-11-17
649 reads
SQLSaturday #59 – Speaker Interview Series #18 – with Matt Van Horn
Notes from the SQLSat#59 Team: SQLSaturday#59 is just 5 days away...
2010-11-15
913 reads
Ladies and Gentlemen, SQL Server 2011, aka Denali, CTP 1 is now available as public download :
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6a04f16f-f6be-4f92-9c92-f7e5677d91f9
Although, I'm not attending...
2010-11-10
7,177 reads
Ladies and Gentlemen, SQL Server 2011, aka Denali, CTP 1 is now available as public download :
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6a04f16f-f6be-4f92-9c92-f7e5677d91f9
Although, I'm not attending...
2010-11-09
3,557 reads
No speaker interview today, (didn't have time to format it today), just some reflection on the Speaker Interview Series, thus...
2010-11-05
656 reads
SQLSaturday #59: Speaker Interview Series #17 with Bill Pearson
Today, we pick up the series, with another worldly well-rounded individual, by...
2010-11-04
782 reads
SQLSaturday #59 – Speaker Interview #16 with DW Expert, Chuck Kelley
Working on a large DW project, I had the pleasure of...
2010-11-03
818 reads
SQLSaturday #59 – Speaker Interview #15 with Joseph D’Antoni
Let’s kick off this Tuesday, maestro please, with a little violin music, some...
2010-11-02
846 reads
It is Friday, the queries are running, and nobody is watching the bill. That...
By Steve Jones
Annabel retired from Redgate Software this week. Across most of my career at Redgate,...
By Tim Radney
As a SQL Server DBA with years of experience tuning production environments, I’ve seen...
Comments posted to this topic are about the item What is the Cloud?
Comments posted to this topic are about the item Changing the Schema
Comments posted to this topic are about the item Index Fragmentation Explained: Page Splits,...
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