Reminder: Orlando SQL Server User Group Meeting is March 11, 2009
Our next oPASS/Orlando user group meeting is coming up soon on March 11, 2009, and as usual is held at...
2009-03-02
328 reads
Our next oPASS/Orlando user group meeting is coming up soon on March 11, 2009, and as usual is held at...
2009-03-02
328 reads
If you've read my blog over the past year and a half you know that I've been heavily involved in trying to build a 'franchise' around SQLSaturday, with the guiding principle being that the event has to be locally owned. We've had some decent success, but we've also seen that in many cases groups are reluctant to try hosting one, usually due to one of the following:
2009-03-02
1,244 reads
If you've read my blog over the past year and a half you know that I've been heavily involved in...
2009-03-01
283 reads
If you haven't visited yet, you definitely want to read Linchi's blog - it's packed full of on topic posts about...
2009-02-26
1,806 reads
Most of us aren't good decision makers. We make decisions based on emotion rather than facts, and for many decisions...
2009-02-25
2,282 reads
You can read the previous posts here. To finish up (I think), I want to share a networking technique I stumbled on a few years ago, and talk about one more good reason to network.
2009-02-25
1,553 reads
I've scheduled another iteration of my Technical Speaking Seminar for March 14, 2009 in Orlando. It's free, and I'm hosting...
2009-02-24
1,478 reads
It's been pretty busy since my last post. Just in one week I had at least 12 hours devoted to...
2009-02-23
719 reads
Stuart says that as of Feb 20 registration is at 150 with a cap of 200, and plenty of speakers...
2009-02-22
676 reads
Announced in the past week or so, Microsoft has released an update to Codezone that expands the focus beyond just...
2009-02-19
731 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