PASS Connector Editorial for June 17, 2009
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-06-18
654 reads
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-06-18
654 reads
As I've related previously (Part 1, Part 2, Part 3, Part 4, Part 5) I've been working author and speaker Don Gabor on my networking skills. We recently did our final call of the six hours coaching planned, and thought I'd share some final thoughts.
2009-06-18
1,274 reads
Part 1 discussed ways to find opportunities, Part 2 was about how to get more interviews, and today we’ll cover...
2009-06-17
1,003 reads
I wasn’t able to attend this event, but did participate as a sponsor and I had this follow up message...
2009-06-16
650 reads
Yesterday I posted Part 1 containing five ideas for those looking for work. Today I’m going to focus on what...
2009-06-16
998 reads
As background, I've never been a fan of multiple instances. It's a useful thing to have available and I use it on a server today, but it's never provided a solid way of isolating resources for each instance. Next, one of the things I evangelize...
2009-06-16
3,267 reads
I didn’t attend, but wanted to get this written down somewhere!
I’m just catching up on email, Ken Starnes said all...
2009-06-15
540 reads
I was recently asked for advice about seeking a job, a request we all get from time to time. In...
2009-06-15
725 reads
Way back on May 19 I wrote about my search for a new laptop bag to replace my somewhat tattered...
2009-06-14
719 reads
Michelle Ufford (aka SQLFool) is leading the first SQLSaturday in Iowa at the University of Iowa in Iowa City on...
2009-06-14
762 reads
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...
It is Friday, the queries are running, and nobody is watching the bill. That...
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