Forum Replies Created

Viewing 15 posts - 2,821 through 2,835 (of 6,486 total)

  • RE: How to update different column depends on seq

    John - The little abbreviated snippets just don't make sense to me. i just can't quite figure out how they're going together.

    Let's start basic - try to...

  • RE: Management Studio did not Showing up?

    Gary - what version of SQL Server 2005 are you installing?

    The initial version of SQL Server Express didn't include SSMS. If that was what you installed, you may need...

  • RE: How to update different column depends on seq

    Yes, there like is. As of right though - you're not specifying where or how you're getting @incr (you use it, but you're not retrieving /set its value.). ...

  • RE: Help with SQL Query

    GSquared (6/18/2008)


    Actually, Joe used ANSI joins. The second query is a cross-join with two Where statements. That's standard.

    (Have to admit, I don't like the layout he used, but...

  • RE: Replacing NULL with 0 when using the Pivot operator

    I usually end up handling that in the outer select. Meaning - once the PIVOT has been done.

    Something like:

    select locationname,

    ...

  • RE: Comparing Image Field

    drodriguez (6/18/2008)


    The reason for the request is compare with other rows that there aren't any duplicate images.

    Keep in mind that if the hash values of the two images are NOT...

  • RE: Virtual PM's for Jeff...

    Jeff Moden (6/17/2008)


    As for the link where Matt and I did a bunch of testing? I don't know why but I keep loosing track. I really should keep...

  • RE: Theoretical question about importing from Excel using SSIS

    Jeff Moden (6/18/2008)


    GSquared (6/17/2008)


    Matt Miller (6/17/2008)


    I've done something like that with DTS a few times. For better or worse - I found it easier to have DTS handle the...

  • RE: How to round to nearest nickel?

    Sergiy (6/17/2008)


    Matt Miller (6/17/2008) Just need to tape the KISS principle sticky note to my forehead again....:)

    Then everybody else will read it but you...

    :hehe:

    Actually - it was so I would...

  • RE: Assign seqnumber to a column

    Jeff Moden (6/17/2008)


    Matt Miller (6/17/2008)


    Take a look at this article - will help describe the technique....

    Man... you're right... you have been recommending this and the Tally table articles a lot!...

  • RE: SQL 2005 Developer's Desktop software upgrades

    As far as I recall - the same support packs you use on the server will patch the client and workstation tools. Or - just run windowsupdate and it...

  • RE: How to round to nearest nickel?

    Sergiy (6/17/2008)


    Matt Miller (6/17/2008)why travel around the planet when you can just cross the street...

    Because travel agencies tell you so...

    heh - I should take their advice...It's been a while..:)

    It's just...

  • RE: Implicit conversion from data type datetime to varbinary is not allowed

    Jeff Moden (6/17/2008)


    Matt Miller (6/17/2008)


    If the two tables weren't created in exactly the same way, you could easily end up with column mismatches.

    Good point... but look again...

    insert into t...

  • RE: How to round to nearest nickel?

    Jeff Moden (6/17/2008)


    Just in case anyone is having a doubt...

    SELECT d.Amount, ROUND(d.Amount/5, 2)*5 AS Rounded

    FROM (SELECT N/100.0 AS Amount FROM TALLY)d

    Nicely done, Sergiy. Ya just...

  • RE: Comparing Image Field

    Problem is - Hashbytes doesn't support the large data types, so it's constrained to 8K of data. Even with using a SHA1 hash (much more likely to be unique...

Viewing 15 posts - 2,821 through 2,835 (of 6,486 total)