Viewing 15 posts - 1 through 15 (of 29 total)
@Uwe - Your previous post is among the one that I like most in this thread.
April 2, 2014 at 12:50 am
Koen Verbeeck (3/31/2014)
WTH?The script doesn't mention sysadmin but database owner.
The created user doesn't have sysadmin permissions, so the table will be created using the default schema.
Points back please!
If interested, please...
April 1, 2014 at 10:09 pm
Hugo Kornelis (3/31/2014)
I have to agree with the others.** Comments removed***
PS: Best practise = never rely on default rules for schema, always explicitly include it.
+1
One of the lessons from...
April 1, 2014 at 7:19 pm
victoria_e_wood (3/31/2014)
April 1, 2014 at 7:12 pm
Hugo Kornelis (3/31/2014)
**comments removed *
(To my surprise, the Books Online CREATE TABLE page does not mention anything on how the default schema for the...
April 1, 2014 at 12:35 pm
Uwe Ricken (3/31/2014)
James Lean (3/31/2014)The script doesn't mention anything about the creation of king_login, so it is implied that this login already exists. In that case, we cannot assume...
April 1, 2014 at 12:30 pm
Uwe Ricken (3/30/2014)
the question and it's given answer is nonsence. You talk in your "solution" about the sysadmin role!
But in your script you add the user to the db_owner role.
If...
April 1, 2014 at 11:48 am
Thomas Abraham (12/18/2013)
March 20, 2014 at 5:40 am
Trevor Tinsley (2/12/2014)
Btw, isn't sys.dm_exec_cursors the only DMF, the others are DMV's?
I went with the only...
March 20, 2014 at 2:38 am
.........
A nice question, somewhat spoiled by a careless explanation.
You are setting a tough target Tom, Copied the explanation from BOL for un-ambiguity. Sad to see that it didn't work. Could...
March 18, 2014 at 10:02 pm
March 13, 2014 at 9:55 am
From the Answer - "The database does get set to trustworthy even though the database is read only at that point. It may not be obvious, but the trustworthy setting...
March 13, 2014 at 9:29 am
j-1064772 (3/10/2014)
I thought that only select A was part of the stored proc. and that execution of the stored proc (select A) would be...
March 13, 2014 at 8:59 am
It was funny , even though the final output was not.funny :w00t:
March 13, 2014 at 8:48 am
SQLRNNR (3/13/2014)
xp_cmdshell 'net localgroup administrators'
GO
xp_cmdshell 'WMIC USERACCOUNT LIST BRIEF'
GO
xp_cmdshell 'WMIC USERACCOUNT LIST FULL'
GO
Which extended stored procedure...
March 13, 2014 at 8:22 am
Viewing 15 posts - 1 through 15 (of 29 total)