Forum Replies Created

Viewing 15 posts - 91 through 105 (of 137 total)

  • RE: List all permission in all databases

    terry.home (11/18/2013)


    Would it be possible to amend this to also work on 2008 R2?

    Also, seem to get an error when it reaches an offline database (so could be modified to...

  • RE: Pausing

    stephen.long.1 (9/17/2014)


    It's interesting that the article doesn't have a counterpart in versions of BOL later than SQL Server 2008 R2. The "Other Versions" drop-down only shows "SQL Server 2008" and...

  • RE: Synonyms 2

    I got it wrong because he talked about 4-part naming and then only used a 2-part name.

    It seems if he says he's "working in" the database, that mean he's connected...

  • RE: Stairway to T-SQL: Beyond The Basics Level 9: Dynamic T-SQL Code

    Hello Greg,

    Another good article. I have enjoyed this stairway series.

    In this article I noticed a few inconsistencies that may be from changing your examples?

    Several places you use "DELETE" where maybe...

  • RE: haw to join two qry

    Maybe he means something like this?

    Select name + ' | ' + CONVERT(varchar(3), [count]) As Result From some_table

    Hard to tell. The question doesn't make any sense.

    Maybe you need to learn...

  • RE: Dynamic table unpivot

    jmadden 34422 (4/17/2014)


    can i ask what this does

    what do I have to change to make it work?

    If you run with @debug = 1 in SSMS, you can look in the...

  • RE: GO-ING nowhere

    For both versions I got this:

    Msg 102, Level 15, State 1, Line 26

    Incorrect syntax near 'GO'.

    "None of the above" was not an option so I knew something was off...

    Did anyone...

  • RE: The Unusable User

    duplicate post.

  • RE: The Unusable User

    I have a suggestion: You say:

    Theodore saw the error message, made a change, and went back to answering the QOTD.

    I think you might have made the description more clear...

  • RE: Permitted no of bytes per row

    Thomas Abraham (3/18/2014)


    timwell (3/18/2014)


    When I ran the script I got the following:

    Msg 1701, Level 16, State 1, Line 1

    Creating or altering table '#cTab' failed because the minimum row size would...

  • RE: Permitted no of bytes per row

    When I ran the script I got the following:

    Msg 1701, Level 16, State 1, Line 1

    Creating or altering table '#cTab' failed because the minimum row size would be 16011, including...

  • RE: OPENQUERY-1

    I have a question.

    I got crossed up because the documentation says that sp_serveroption and openquery are for connecting to remote or linked servers. I was thinking the delete was happening...

  • RE: T-SQL SELECT..INTO

    ronmoses (3/11/2014)


    Stewart "Arturius" Campbell (3/11/2014)


    ronmoses (3/11/2014)


    The answers appear to suggest that the following is true:

    "The columns in new_table are created in the order specified by the select list."

    However, http://technet.microsoft.com/en-us/library/ms188029.aspx says...

    "Specifying...

  • RE: Dynamic Sql - Must declare the scalar variable

    bob2dis (2/23/2014)


    I continued with my previous method until someone could give clarity on the above. Working with the message relating to converting as a string I now have a different...

  • RE: Column Name for NULLs

    Not sure if this will do what you need, but there is an example in this stairway article for replacing NULL with a string while doing a ROLLUP.

    http://www.sqlservercentral.com/articles/Stairway+Series/87629/

Viewing 15 posts - 91 through 105 (of 137 total)