A Freeware offer for SQLServerCentral.com Members
Highwire Development is offering a free version of their RAAS product to SQLServerCentral.com members.
2007-08-31
6,522 reads
Highwire Development is offering a free version of their RAAS product to SQLServerCentral.com members.
2007-08-31
6,522 reads
If you're in the UK in October, you might want to sign up for the SQLBits Community day put on by MVP Simon Sabin.
2007-08-27
708 reads
Not the ones you think, but all good reasons to come to Denver. Read on for a bit of humor and find out how to come to the SQLServerCentral.com party!
2007-08-24 (first published: 2007-08-08)
2,455 reads
Here are the winners of our raffle and we should be sending out prizes soon. A thanks as well from Katie's father to all of you.
2007-08-20
1,117 reads
We've had more prizes donated for the raffle to raise money for Katie. See what you can win and support an IT family in need.
2007-08-07
1,935 reads
2007-08-02
1,840 reads
It's not a string manipulation article in T-SQL, but it is SQL Server related. Check out what Steve Jones has in store for the PASS 2007 Summit for the SQLServerCentral.com community..
2007-07-26
1,506 reads
Most of us have been very lucky in life and SQLServerCentral.com is asking for your support in helping a fellow family in IT with this raffle.
2007-07-12
4,826 reads
Yesterday at it's Worldwide Partner Conference, Microsoft announced the launch date for SQL Server 2008 along with Windows 2008 and Visual Studio 2008.
2007-07-11
15,696 reads
2007-07-10
1,032 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