Forum Replies Created

Viewing 15 posts - 54,526 through 54,540 (of 59,071 total)

  • RE: Adding workdays

    First, nicely done, Matt! Yeah, if you don't include the start date as a Week Day, then you're correct... adding 30 Weekdays to '20070514' would, in fact, be 6/25...

  • RE: Adding workdays

    Heh... now you've made a real mess of the formatting... :hehe:

    Ooops... never mind... dunno what happened but it went back to a good format when I posted this message...

  • RE: Adding workdays

    Matt Miller (10/18/2007)


    Now it just got personal :). Amazing how some good ol' fashion testing seems to work better (I keep trying with not quite enough data to see...

  • RE: Adding workdays

    Ah... sorry, it doesn't work as expected... it includes weekends which is what Greg is trying to exclude... in terms of your example, he wants to add 30 "week days"...

  • RE: Adding workdays

    How many times Government changed calendar in last 20 years?

    Heh... here in the States, ya just don't know... look what they've done to DST, Primary days, and the...

  • RE: how to remove numbers from strings?

    Matt Miller (10/18/2007)


    I don't have a HUGE database on hand with relevant data, but on 50K records...maybe a second.

    Thanks, Matt. Like I've said so many times, I don't have...

  • RE: Seperate digits

    Now we try to elevate ourselves to Jeffs' level

    Heh... nah... it's not worth all the nosebleeds due to lack of Oxygen 😀

  • RE: Seperate digits

    joe joe (10/17/2007)


    Hi Jeff,

    I looked into the ZP4, and truely looks very handy. But I don't have any adresses in USA, only in Europe.

    But thanks for the tip 🙂

    Ack... my...

  • RE: returning balance value on TSQL

    Luis,

    How many rows do you end up with in your result set?

  • RE: how to remove numbers from strings?

    Now, that looks like a good use for a CLR... how's the performance? (I can't test it... don't have 2k5 available)...

  • RE: Thousands of "sp:starting" events for one SELECT in a proc

    Sounds like a pretty good plan... GUI is the place where such formatting should occur.

  • RE: Get names of logical files in 2K

    sp_HelpFile

  • RE: Adding workdays

    Matt... haven't tested it, but I agree... I think you've probably done it and it looks like the performance will outstripe any table solutions in this case... gonna have to...

  • RE: Adding workdays

    mrpolecat (10/18/2007)


    This works as well though it can only go 1 year out. Not sure about the perfomance with the self join.

    declare @startdate datetime, @days int

    set @startdate = '1/1/2007'

    set...

  • RE: Actual Reason to Use CLR

    Derek Karpinski (10/18/2007)


    Absolutely... Us devs need SQL. And need to be flawless in it. And aware of any potential impact. I'd respectivally submit that nocount be set to...

Viewing 15 posts - 54,526 through 54,540 (of 59,071 total)