Forum Replies Created

Viewing 15 posts - 54,376 through 54,390 (of 59,067 total)

  • RE: Formatting the date

    Greg,

    Lot's of folks keep a bit of handy test table code around for these types of tests. It's built using the same method I showed you to build a...

  • RE: More junk with dates

    And, you've validated the dates how?

    I normally don't say "never" to anything... but this would be one of them.

  • RE: More junk with dates

    It's never good to store a date as a VARCHAR... if you want VARCHAR, you would do that in a SELECT... not as a matter of storage.

  • RE: Improved Query: Better Duration: More reads? More CPU?

    Hey SoulTower! Wondered when you'd get a login... especially after the apparent demise of Belution.

  • RE: Formatting the date

    Kenneth Wilhelmsson (10/29/2007)


    Oh really?

    Then I assume that what was 'desired' was something else than what was written?

    You're actually saying that the below example is 'incorrect', or 'undesired', or simply plain...

  • RE: Temp Table 'vs' Table Variable 'vs' CTE.

    Gail... nice explanation! Short, sweet, and to the point.

    Sandy... think of a CTE the same as you would any "inline view" or "derived table" except that they are cited...

  • RE: SQL Log File Size is Growing

    It's not likely that a log file would have the extension ".txt"...

  • RE: Clarity vs Speed

    Now, that's what I'm talking about... 43 minutues vs 3... both have the correct answers... which one do you want running on your machine? 😉

  • RE: Formatting the date

    Man, you talk a lot about nothing...

    First two sorts are incorrect because they did not sort in the desired order.

  • RE: SQL query need help!!! urget

    Do you have a specific question or do you just want us to do all of your homework for you?

    You're in class to learn this stuff and these...

  • RE: DTS is extreamly slow to transfer data for just 1 small table. Please help!

    Check for triggers, as well.

  • RE: SQL query need help!!! urget

    C'mon man... do your own homework... you haven't even tried...

  • RE: Clarity vs Speed

    Heh... ok... guess I'll get up on the soap box, then...

    ALWAYS use the fastest, most effecient code possible... ALWAYS use comments to explain the code unless it's just too, too...

  • RE: Date

    Jason certainly had the right idea... and this goes just a bit further for forcing a format... but it's not 100% bullet proof...

    DECLARE @test-2 TABLE (SomeDate VARCHAR(20))

    INSERT INTO...

  • RE: Date

    I agree with Jason... I think ISDATE, by itself, is a very bad way to check for valid dates. For example, the following all return "1" using ISDATE...

    [font="Courier New"]SELECT...

Viewing 15 posts - 54,376 through 54,390 (of 59,067 total)