Contact Me Disabled
I've been getting spammed like crazy through the Contact Me link. As a result, I've had to disable it. If...
2008-07-10
620 reads
I've been getting spammed like crazy through the Contact Me link. As a result, I've had to disable it. If...
2008-07-10
620 reads
SQL Server pervec qe jep hapesire per krijimine databazave te shumta ne nje instance, poashtu kemi te bejme edhe system...
2008-07-10
914 reads
Pershendetje te gjitheve!
Sa i perket lajmeve qe kan te bejne me SQL Server 2008, version ky qe eshte duke u...
2008-07-10
404 reads
Ok! Po japim informacione te shkurta rreth komponenteve te SQL Server 2005 dhe ato jan:
Database EngineKryesisht permbane te gjitha serviset...
2008-07-10
927 reads
SQL Server 2005 permbane nje grup vegelash per menagjim dhe administrim te databazave, dhe pothuajse te gjitha prej tyre jan vegela...
2008-07-10
700 reads
Ok! There is the SQL Server 2005 Components. There is the brief information about the components:
Database EngineIt provides the core...
2008-07-10
1,801 reads
SQL Server 2005 includes a set of graphical tools and most of these are new with SQL Server 2005, there...
2008-07-10
567 reads
I did quite a bit of reading during a recent week off including two biographies. One was Boyd: The Fighter...
2008-07-10
394 reads
A couple weeks back I posted Employee or 1099 and now that my friend Wes Dumey has posted his last installment, I...
2008-07-09
319 reads
Po fillojme me publikimin e te gjitha shkurtesave qe perdoren ne SQL Server 2005...fillimisht do ta publikoj vetem nje e...
2008-07-09
600 reads
By Steve Jones
It’s Prime Day. A few of my recommendations, since I want to do some...
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...
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