Vnext – Its SQL Server 2017
Yes thats true, SQL Server New version will be release this year and call it “SQL Server 2017” where sql can...
2017-04-24
461 reads
Yes thats true, SQL Server New version will be release this year and call it “SQL Server 2017” where sql can...
2017-04-24
461 reads
Aloha!
Recently I’ve revisited one of my GitHub projects, TurboLogShip. I’ve been wanted to write a presentation around what it does...
2017-04-23
288 reads
Thu, Apr 27 2017 20:00 GMT Daylight Time
Power BI Dashboard within an hour for Excel users
RSVP: https://attendee.gotowebinar.com/register/8516045593703848705
Power BI Dashboard within an hour for Excel users...
2017-04-23
16 reads
I have been fascinated with another new feature of the upcoming SQL Server release and so I decided to blog...
2017-04-23
2,083 reads
Continuation from the previous 103 parts, the whole series can be found at http://www.nikoport.com/columnstore/.
This blog post is a logical continuation...
2017-04-22
551 reads
Thu, Apr 27 2017 20:00 GMT Daylight Time
Power BI Dashboard within an hour for Excel users
RSVP:https://attendee.gotowebinar.com/register/8516045593703848705
Power BI Dashboard within an...
2017-04-22
627 reads
This blog post is about a situation where I use Visual Studio Team Services (VSTS) to build/deploy my DEMOs. Those...
2017-04-22
1,073 reads
Now that SQL Saturday South Island (also known as #sqlsat614 on the Twitter) is done I thought it would be...
2017-04-22
256 reads
Availability Groups are a fantastic way to provide high availability and disaster recovery for your databases, but it isn’t exactly the easiest thing in the world to pull off...
2017-04-22
15 reads
Availability Groups are a fantastic way to provide high availability and disaster recovery for your databases, but it isn’t exactly...
2017-04-22
3,602 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