Forum Replies Created

Viewing 15 posts - 21,241 through 21,255 (of 26,490 total)

  • RE: Are the posted questions getting worse?

    WayneS (5/1/2009)


    Steve Jones - Editor (5/1/2009)


    Hey, that's a cool feature! Hadn't seen that before.

    I guess it's a good thing that I didn't ask you how to get to it :-)...

  • RE: Performance issue with tally solution

    Jeff Moden (5/1/2009)


    Florian Reischl (5/1/2009)


    TheSQLGuru (5/1/2009)


    Flo, are you getting your reads from SET STATISTICS IO ON? IIRC UDFs don't report IO correctly in this manner. Try getting them...

  • RE: Are the posted questions getting worse?

    jcrawf02 (5/1/2009)


    Lynn Pettis (4/29/2009)


    GilaMonster (4/29/2009)


    Bruce W Cassidy (4/29/2009)


    [font="Verdana"]International Star Wars day... "May the 4th be with you."[/font]

    *groan*

    Hmmm, we were discussing having another Starwars day.....

    Now for something totally the same...

    How...

  • RE: Deleting Millions of Rows from Multiple Tables

    Any additional criteria for the delete would also be helpful.

  • RE: Deleting Millions of Rows from Multiple Tables

    Can you post the generalized schema of the tables, indexes, RI (if any), some sample data (readily consumable)?

    This looks like fun.

  • RE: Performance issue with tally solution

    TheSQLGuru (5/1/2009)


    Flo, are you getting your reads from SET STATISTICS IO ON? IIRC UDFs don't report IO correctly in this manner. Try getting them with Profiler.

    Depending on how...

  • RE: Performance issue with tally solution

    Paul White (5/1/2009)


    Lynn,

    I'm thinking that that TVF might be adapted to accept a string of characters to keep as a parameter.

    Returning a set of characters to strip would allow Jeff's...

  • RE: Comparison of Dates in SQL

    Ed (5/1/2009)


    Using the DATEDIFF function works but can be very slow.

    I prefer using:

    DECLARE

    @FromDate DATETIME,

    @ThruDate DATETIME

    SET @FromDate = CONVERT(VARCHAR, GETDATE(), 101) --mm/dd/yyyy 00:00:00.000

    SET @ThruDate = DATEADD(DAY, 1, @FromDate)

    SET @ThruDate = DATEADD(MS,...

  • RE: Performance issue with tally solution

    Don't know if it is worth anything, but here is an In-Line TVF that will return 256 ASCII characters:

    alter function dbo.ufnChar256()

    returns table

    as return(

    with Numbers16 (

    N

    ) as...

  • RE: Are the posted questions getting worse?

    WayneS (5/1/2009)


    Hey Steve...

    I was (quickly) moving my mouse to go to the link to move to the next page on this thread, and a little popup window came up to...

  • RE: SELECT AVG() causing arithmetic overflow?

    Also consider that the routine already is complex. If you pass an INT you get an INT in return; if you pass a DECIMAL you get a DECIMAL in...

  • RE: Are the posted questions getting worse?

    Florian Reischl (4/30/2009)


    Hi Lynn

    No. It's just a dictionary but the greatest I know (already 200,000 request within the last two hours).

    Why? Is my English SO bad? :doze:

    Heck no! I...

  • RE: Are the posted questions getting worse?

    Florian Reischl (4/30/2009)


    Hi John

    I'm quiet sure that English is not her/his first language (due to the "Ja" I think he is German) but this is not the problem. I would...

  • RE: SQL

    Paul White (4/30/2009)


    Lynn Pettis (4/30/2009)


    lungy (4/29/2009)


    ...heaps of sql...

    I'm glad someone else took the time to read through your unformatted code, as I really didn't have the time. A good...

  • RE: Converting Temp Table to Table Variable... Is this possible and how?

    Having reviewed the article, I highly agree with the comment to print the article and give it to your boss.

Viewing 15 posts - 21,241 through 21,255 (of 26,490 total)