Forum Replies Created

Viewing 15 posts - 181 through 195 (of 703 total)

  • RE: Time Zone Dilemma

    You're right to not want mess with the data as stored on the database. Whether it's recorded as Pacific or Greenwich (UTC) time, I think it would be much...

  • RE: Use of Identity Property to Resolve Concurrency Issues

    Danny,

    Thanks for the thoughtful and well-documented post. Your English is fine and please be assured that most people visiting this site are aware that it has an international following...

  • RE: Use of Identity Property to Resolve Concurrency Issues

    SanDroid (2/24/2011)


    adam.everett (2/24/2011)


    Can I ask why in the original code the lock on the kvp was required for the duration of the whole buniness transaction. Could they just not...

  • RE: Date Conversion

    Since the original example wavered on how to specify the end of the month.....

    Do use a construct of "less than the start of next month".

    "<= '2/28/2011 23:59:59'" would miss...

  • RE: Results from different tables, but separate rows?

    How are you planning to get the mash-up of rows into a single CSV file? First thing I think of is run multiple dataflow tasks serially in an SSIS...

  • RE: Fun(?) with DATETIME2

    Jamie Longstreet-481950 (2/15/2011)


    I prefer something I can rely on to work for all cases with dates... my favorite is

    CONVERT(varchar(8),getdate(),112)='20110215'

    because it is easy to remember and there are not...

  • RE: Visual Studio Code Names

    Hugo Kornelis (2/10/2011)


    UMG Developer (2/10/2011)


    Thanks for the interesting question.

    I'm surprised at the number of people that thought DataDude was the name that hadn't been used, that is what I had...

  • RE: Return current Time as integer

    Building on Ian's suggestion, it should be more efficient to use the DateDiff() and DateAdd() functions rather than Convert() to isolate the time portion of a DateTime, then find the...

  • RE: Problem in Exporting data to excel through OPENROWSET

    If the computer upon which this is run doesn't have Excel 2007 installed, you may have to install the data provider separately. Microsoft has a nice overview of connecting...

  • RE: Count Distinct

    twalpole (1/31/2011)


    If requesting parts ordered more than once, need to query for diff > 0

    Nice catch. The difference is between a count(DISTINCT) and and a straight count. With all...

  • RE: Does It Count?

    If the business decision is to ask for 99.999% availability, and the funds are allocated to provide it, then it's up to us to plan for minimal disruption and fall-over...

  • RE: RAID

    UMG Developer (1/26/2011)


    Steve Jones - SSC Editor (1/26/2011)


    Note that disks still fail. It's why when data is really critical, you can't necessarily wait on a rebuild. A disk failure from...

  • RE: Count Distinct

    rollec2k5 (1/21/2011)


    I was not aware about, that you can use Columns in a having Clause without having the Column in the SELCET.

    Not exactly.... The HAVING clause can use aggregates...

  • RE: Sorting Issue

    I hope I've inferred your requirements properly from the example data, but you may have to do some more work if not. It looks as though you want to...

  • RE: Talking baseball

    Ray K (1/14/2011)


    Number of days until pitchers and catchers report to Spring Training:

    select datediff(dd, getdate(), '2/13/2011')

    😀

    or, as the New York Times put it four years ago in one of...

Viewing 15 posts - 181 through 195 (of 703 total)