Forum Replies Created

Viewing 15 posts - 54,391 through 54,405 (of 59,065 total)

  • RE: Problem with UDF

    But I am still curious as to why my UDF didn't work.

    Your UDF works... but think about it... what do you get when you concatenate a NULL with...

  • RE: Problem with UDF

    Just a personal opinion...

    I think you may be trying to do too much in a UDF. I think the UDF should do nothing but find the number you're looking...

  • RE: Multiple values on y-axis?

    The picture of what you wanted in your first post is not visible.

    Layout some text on the next post that depicts the format that you would like. Use the...

  • RE: extract yesterdays info without failures.

    I'm thinking this is wrong...

    SELECT * FROM IPGDB..SHPHST

    WHERE SIDATE > '2007-10-16'

    AND SIDATE <= '2007-10-17'

    Should be...

    SELECT * FROM IPGDB..SHPHST

    WHERE SIDATE >= '2007-10-16'

    AND SIDATE < '2007-10-17'

    Other than that, your transaction is pretty...

  • RE: Formatting the date

    Kenneth Wilhelmsson (10/26/2007)


    Actually, there's nothing incorrect about any of these.

    SQL Server is very obedient and sorts exactly as asked to..

    ...if that wasn't exactly what one intended, is another matter..

    The 'fault'...

  • RE: Pulling Strings from larger string.

    How would you like to import 5 million rows in about a minute? Post, say, 100 rows of data as an attachment and I'll show you how to build...

  • RE: Sequential Update

    Roger that...

  • RE: convert from MM/DD/YYYY to YYYYMMDD

    bharani (10/23/2007)


    ya, but my team want that to be an int value...

    Your team is absolutely wrong... Peter Larson has a good viable solution... storing any date or time as other...

  • RE: Clarity vs Speed

    Heh... no matter how you swing it, this whole thing is RBAR... if it's for a GUI single row proc... no problem... if it even comes near a batch, big...

  • RE: Editorial control on columnists

    Heh... the only thing I might disagee with is you calling Celko "smart" 😉

  • RE: Unstring text field?

    Bob Bridges (10/24/2007)


    Jeff,

    You got me on the right track... the problem is in the "SET @col" statement. I had

    SET @col = 'Part2.Part1'

    What I didn't realize is that the "Part2"...

  • RE: Sequential Update

    MrPoleCat,

    Would you be kind enought to test this on your SQL Server 7? Thank you, Sir...

    --===== If the test table already exists, drop it

    IF...

  • RE: Formatting the date

    Greg Snidow (10/26/2007)


    Well, I can't replicate it, but I know I had an issue with it before. Maybe I'm just crazy.

    No, not crazy... both of the following will order...

  • RE: Definition of "Set Based"

    Ooohh.... heh... the only time I ever explicity declare cursors is to demo how slow they are when I do... if SQL Server wants to use cursors internally, that's fine......

  • RE: Definition of "Set Based"

    Heh... you already know this, but the emphasize, loop joins (especially) and a bunch of other "internal" things are really high speed "cursors" that operate at machine language levels.

Viewing 15 posts - 54,391 through 54,405 (of 59,065 total)