Forum Replies Created

Viewing 15 posts - 6,121 through 6,135 (of 8,416 total)

  • RE: Quick Suggestion on Table Variable

    If the VARCHAR(MAX) column is intended to store large values (and I suppose the chances of that are quite good), a temporary table has one other advantage: you can use...

  • RE: Updating Table 2 with Table 1 from Lastmodifieddate

    Thanks John - I should have acknowledged Wesley's contribution in my previous post.

  • RE: Problem with global temporary tables in EXEC statement

    I apologise in advance if I am missing the obvious, but doesn't the definition of ##keys in the first code sample include a column called 'key_owner', whereas the second version...

  • RE: Are the posted questions getting worse?

    Oh dear, I posted a reply to that identity-order thread before checking here :ermm:

    I got the checksum question wrong by the way - fell into the 'single bit error' bear...

  • RE: Solving the "Running Total" & "Ordinal Rank" Problems (Rewritten)

    Gabriel P (2/18/2010)


    Hey does anyone know if it's possible to do this solution but insure that the fields/variables are updated in a specific order for each row?

    Like say I...

  • RE: Updatea table without degrading performance

    Tara-1044200 (2/18/2010)


    table names might be mis spelled wantedly but i just need logic. here is the structure of tables

    [snip]I Assume i explained it very clear.

    Thanks. I have updated my...

  • RE: convert nvarchar to int

    nigel. (2/18/2010)


    CirquedeSQLeil (2/17/2010)


    Nice solution Paul.

    Indeed, very thorough. I think you've scared off the OP though 🙂

    I hope not - but even if that is the case, I would hope that...

  • RE: Select distinct question

    Dave Ballantyne (2/18/2010)


    GT-897544 (2/17/2010)


    As GSquared said, See you have an Identity column it gives the order you entered until unless you specify what order you want result set.

    If I...

  • RE: Are the posted questions getting worse?

    CirquedeSQLeil (2/17/2010)


    Is that an admission to being responsible in some part?

    A gate bangs open and shut in the wind...

    A tumble-weed rolls by...

    It is dark.

    There might be grues.

  • RE: Select distinct question

    Depending how your mind works, you might find this solution more intuitive:

    -- Test table

    CREATE TABLE #ReconRecord

    (

    serial ...

  • RE: Updatea table without degrading performance

    Tara-1044200 (2/17/2010)


    I want to update memkey,state and empno in table Emp_CA where memekey is found with null value. these 3 columns should be updated from the table OBBEAVER.dbo.memberlist whic also...

  • RE: Updating Table 2 with Table 1 from Lastmodifieddate

    Alif,

    I've read your question several times now, and given it some thought...but I'm afraid I can't understand what you are asking for here.

    Please take another shot at explaining what you...

  • RE: DBCC Timewarp

    Tom.Thomson (2/16/2010)


    This is some confusion as to the range in which parameter 13 is usable. In general it can be used for intercontintal transfers in ranges up to roughly 1178.39...

  • RE: LOCK

    Steve Jones - Editor (2/17/2010)


    Edited. I'll clean up points in the am.

    You're my favourite SSC Editor, Steve. Thanks. 😀

  • RE: LOCK

    Joy Smith San (2/17/2010)


    I thought the below one is wrong.

    "With an exclusive lock, no other transactions can modify data (except for operations with NOLOCK hint or read uncommitted isolation level)"

    I...

Viewing 15 posts - 6,121 through 6,135 (of 8,416 total)