MDX Utility Belt of Calculations Part 1
Developing MDX calculations is one of the most confusing and time consuming pieces of building an Analysis Services cube. That...
2009-12-01
2,698 reads
Developing MDX calculations is one of the most confusing and time consuming pieces of building an Analysis Services cube. That...
2009-12-01
2,698 reads
This post is a part of a series of blog posts I am writing to give you a Batman-like Utility...
2009-12-01
1,771 reads
I’ve been using Win 7 on my dev machine for a few months now, and finally decided over the Thanksgiving...
2009-12-01
503 reads
One quick and dirty tool that I like to use to monitor I/O performance at the file level is Resource...
2009-12-01
2,304 reads
I saw this report that a good percentage of online social media users (27%) find that their offline relationships benefit...
2009-12-01
1,348 reads
I have been involved in the SQL Server community since 2000, and during the past nine years I have seen...
2009-11-30
1,459 reads
The Midlands of South Carolina will be hosting a Code Camp on January 30, 2009. You can register as an...
2009-11-30
1,704 reads
SQL Server Reporting Services 2008 introduced several new features.One key feature was the inclusion of the Gauge Controls.I was recently...
2009-11-30
1,736 reads
Well, it has been a couple of weeks since my last blog post and over a month since Maintaining Security...
2009-11-30
1,648 reads
AnandTech IT has an interesting post up that looks at the roadmap for AMD in the server arena for 2010/2011....
2009-11-30
1,709 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