Forum Replies Created

Viewing 15 posts - 11,956 through 11,970 (of 26,486 total)

  • RE: Alias Exists Subquery

    CELKO (5/15/2012)


    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. If you know how,...

  • RE: Query Cost 27%

    Alone (5/15/2012)


    How to change non clustered index scan to non clustered index seek?The concerned tables already have non clustered index configured.

    I have no idea based solely on what you...

  • RE: Update using subquery help!

    CELKO (5/15/2012)


    >> I'm trying to update a table using a subquery. when I run the below script I get an error Msg 512. I have done updates like this in...

  • RE: Bug or problem with a merge statement SQL Server 2008 R2

    Welsh Corgi (5/15/2012)


    I'm getting the following error:

    The MERGE statement attempted to UPDATE or DELETE the same row more than once. This happens when a target row matches ore than one...

  • RE: Why OPENROWSET returns error

    halifaxdal (5/15/2012)


    I have a sp and need to run it with parameter

    exec spGetCategoriesByDocIDAsTable 811

    This will return result like:

    ID Category Checked

    1 Category1 0

    2 Category2 0

    3 Category3...

  • RE: Update using subquery help!

    bighow2008 (5/15/2012)


    Thanks for the reply.

    I went with a simpleir query

    update master_sub

    set [lab count] = o_list.[lab count],

    = o_list.

    from master_sub m, o_list o

    where m.id = o.id

    Just one little thing,...

  • RE: Are the posted questions getting worse?

    There was a recent thread where the OP wanted to return the difference between two date/time values as hh:mm:ss. Does anyone remember this thread?

  • RE: Are the posted questions getting worse?

    L' Eomot Inversé (5/15/2012)


    Revenant (5/14/2012)


    GilaMonster (5/14/2012)


    Revenant (5/14/2012)


    GilaMonster (5/14/2012)


    Steve Jones - SSC Editor (5/14/2012)


    Jack Corbett (5/14/2012)


    I haven't done a backup, restore, or anythign with security since I've been there.

    Whaaa?...

  • RE: Order by clause

    Are you trying to move the sorting of the result set from the server to the client? How big is the result set?

  • RE: Sorting AlphaNumeric non standard field

    Can you provide the DDL (CREATE TABLE statement) where this data is stored (and there by selected from). It wold help to know more about the data.

  • RE: DevConnections / SQL Server Connection event worth the time?

    If you can swing it, try getting to PASS instead. Not saying its better, just saying you may learn more there and the opportunity to meet many of your...

  • RE: Is Software Engineering Dead?

    Craig-315134 (5/15/2012)


    Ah, well, Lynn, we have something in common. I left Blighty in the early 80's, not wanting to see the final results of Thatcher's social and fiscal 'leadership'.

    This punter...

  • RE: Alias Exists Subquery

    Give this a try.

    SELECT TOP 1000

    E.[Last Name]

    , E.[First Name]

    , E.[Department]

    , Support.[SupportLvl]

    FROM

    ...

  • RE: How to load a temp table with the result set of a sproc

    Eugene Elutin (5/15/2012)


    Lynn Pettis (5/15/2012)


    Eugene Elutin (5/15/2012)


    Transactions that involve table variables last only for the duration of an update on the table variable. Therefore, table variables require less locking and...

  • RE: Is Software Engineering Dead?

    Craig-315134 (5/15/2012)


    It's been an interesting ride! But I'm honestly at a loss to understand where Meryl Streep comes into any of this (although she was outstanding in Iron Lady).

    My youngest...

Viewing 15 posts - 11,956 through 11,970 (of 26,486 total)