Kindle - First Thoughts
I got my Kindle yesterday and I'll write some more notes as I go along, but I have to say...
2008-08-30
1,468 reads
I got my Kindle yesterday and I'll write some more notes as I go along, but I have to say...
2008-08-30
1,468 reads
I've been thinking a lot lately about the concept of value. Earlier this week a colleague of mine tendered his...
2008-08-29
1,458 reads
I was recently working with a student in a one on one format and one the scenarios he wanted to...
2008-08-28
1,429 reads
OK, I reversed myself and bought a Kindle today. Or I guess I ordered one and it should be here...
2008-08-28
1,770 reads
The Jacksonville SQL Server Users Group (www.jssug.com) is hosting a SQL 2008 launch event on Friday, Sep 12, 2008 in downtown...
2008-08-27
1,370 reads
Slightly off topic today.
It's fair to say I'm not a great traveler. Waiting for planes, dealing with the hassles of...
2008-08-26
1,532 reads
Just as I was debating whether to take advantage of Amazon's $100 savings offer on the Kindle (with a new...
2008-08-25
1,943 reads
I've used Quicken for a long time now and it's the center of how I manage finances at home. There...
2008-08-25
1,367 reads
One of the things I teach in our admin course is that it's not enough to just be the gatekeeper/central...
2008-08-24
1,443 reads
The following was sent to me by my friend and colleague Dave Miller:
Dave's Email:
Wanted to pass along something I hadn't...
2008-08-21
1,625 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