July SSSOLV UG Meeting
This is really late notice – apologies in advance.
We will be holding the LV UG meeting July 8th at the same...
2010-07-07
574 reads
This is really late notice – apologies in advance.
We will be holding the LV UG meeting July 8th at the same...
2010-07-07
574 reads
Last week as an adult leader of my son’s Boy Scout Troop, I accompanied a dozen fine young men to...
2010-07-07
467 reads
This is one of the lessons you don’t want to hear when you’re 18, or the newest member of a...
2010-07-07
293 reads
I have been playing around with the new Microsoft Assessment and Planning (MAP) Toolkit 5.0 Beta 2 tool for the...
2010-07-07
820 reads
Every once in a while, you may have a need to determine how much space is being used by a...
2010-07-07
432 reads
It’s a Bird…
No, not really. It’s just Windows 7. I have recently upgraded to Windows 7. I took the roundabout...
2010-07-07
3,434 reads
Another story with a lesson today, this one about learning to work smarter and not just harder. Easy to say,...
2010-07-07
256 reads
Well, I have just finished up my part in the abstract selection process for the PASS Summit. This was my...
2010-07-07
545 reads
All three licenses of Visual 2010 Ultimate with MSDN have been claimed, and here are the winners:
John Pertell (twitter | blog)Jeff...
2010-07-07
629 reads
UPDATE: The three licenses have been claimed!
Like other MVPs and Regional Directors, I've got three licenses of Visual Studio 2010...
2010-07-07
865 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