Forum Replies Created

Viewing 15 posts - 1 through 15 (of 29 total)

  • RE: Default schema

    @Uwe - Your previous post is among the one that I like most in this thread.

  • RE: Default schema

    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...

  • RE: Default schema

    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...

  • RE: Default schema

    victoria_e_wood (3/31/2014)


    In my opinion if the user was in fact a sysadmin why would you assign him or her rights over a database, they would automatically have rights over all...

  • RE: Default schema

    Hugo Kornelis (3/31/2014)


    I have to agree with the others.

    **comments removed *

    (To my surprise, the Books Online CREATE TABLE page does not mention anything on how the default schema for the...

  • RE: Default schema

    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...

  • RE: Default schema

    Uwe Ricken (3/30/2014)


    Hi,

    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...

  • RE: Replicating Data with Mobile Clients - SQL Server 2012

    Thomas Abraham (12/18/2013)


    Easy question, which I got wrong, as I seem to have missed the word "cannot" (in bold font) and the number "2". I prompted selected the three that...

  • RE: Dynamic Management Functions

    Trevor Tinsley (2/12/2014)


    Might be useful to state which SQL version, as some estates have several versions available.

    Btw, isn't sys.dm_exec_cursors the only DMF, the others are DMV's?

    I went with the only...

  • RE: Permitted no of bytes per row

    .........

    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...

  • RE: Execution Plans

    At least for some, the following article may be useful -

  • RE: In Database We Trust

    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...

  • RE: Stored Procedure Boundaries

    j-1064772 (3/10/2014)


    Got it right, for the wrong reason.

    I thought that only select A was part of the stored proc. and that execution of the stored proc (select A) would be...

  • RE: Schema & Renaming Fun

    It was funny , even though the final output was not.funny :w00t:

  • RE: Members of windows group

    SQLRNNR (3/13/2014)


    Based on the wording of the question, I have to throw this out there too!

    xp_cmdshell 'net localgroup administrators'

    GO

    xp_cmdshell 'WMIC USERACCOUNT LIST BRIEF'

    GO

    xp_cmdshell 'WMIC USERACCOUNT LIST FULL'

    GO

    Which extended stored procedure...

Viewing 15 posts - 1 through 15 (of 29 total)