Forum Replies Created

Viewing 15 posts - 826 through 840 (of 3,221 total)

  • RE: Variant Order 2

    Nice question

  • RE: Last day of Month

    Keep in mind:

    A year will be a leap year if it is evenly divisible by 4 , but not 100. If a year is divisible by 4 and...

  • RE: How to delete all rows but noon's on Friday?

    To assist others in assisting you please post the table definition, some sample data. You can do this quickly and easily by clicking on the first link of my...

  • RE: XML

    Hugo Kornelis (12/1/2011)


    Nice question. XML is one part of the database I am still struggling with. I first ticked the answer I thought was corerct without submitting, then went to...

  • RE: format number in a query output

    Try this:

    DECLARE @d DECIMAL(18,6)

    SET @d = 73.190002

    SELECT CAST(CAST(ROUND(@D,1,2) AS VARCHAR(10)) AS DECIMAL(18,1)),CAST(@d AS dec(10,1)) AS 'OOPS'

    Results:

    (No column name)OOPS

    73.1 ...

  • RE: Are the posted questions getting worse?

    My wife and I are celebrating our 21st anniversary today. As part of that, I'm taking next week off of work (my third vacation since 1988), and probably won't be...

  • RE: XML

    vk-kirov (11/30/2011)


    Nice question.

    The font of the QOD is just huge, it could have been a little bit smaller 😉

    [Rant]

    What program did you use to read same. For myself using...

  • RE: Are the posted questions getting worse?

    L' Eomot Inversé (11/30/2011)


    Pain, doom, disaster, or maybe I'm just having a bad day.

    Today's QotD and my response to comments on it could be taken as an object less in...

  • RE: Variant order 1

    Rather simple question .....

  • RE: How to get last hour records using GMT time....

    Look at the function GETUTCDATE() for example

    SELECT GETUTCDATE(),GETDATE()

    Results

    --GETUTCDATE GETDATE

    2011-11-29 00:03:56.0002011-11-28 19:03:56.003

    Here...

  • RE: What, When and who? Auditing 101

    Nice article Roy ... now waiting for the follow up article ..

  • RE: Decimal Number format as String

    janis.l.murphy

    Nice solution

  • RE: Decimal Number format as String

    Bruce Li

    It seems that I cannot declare the decimal variable with dynamic length and decimal places though. Any idea how to do this?

    Jeff Moden (11/22/2011)

    --------------------------------------------------------------------------------

    Multiply QUANTITY in Ron's answer...

  • RE: DateTime Precision

    cengland0 (11/27/2011)


    Don't you hate it when the explanation says, "Despite what BOL says..."

    It should either be mentioned in BOL or do what the BOL says.

    Heck no one is perfect, and...

  • RE: how to insert your query into stored procedure?

    Can you post your stored procedure and the items you want to incorporate within that SP ? In this fashion someone will be able to assist you....

Viewing 15 posts - 826 through 840 (of 3,221 total)