Forum Replies Created

Viewing 15 posts - 58,741 through 58,755 (of 59,065 total)

  • RE: Identifying NULL Dates

    scking,

    I'm curious... what is your objection to using ISNULL or it's big brother, COALESCE?  Yes, CASE works but it's probably not a fast as ISNULL...  your last CASE example could...

  • RE: Insert Date

    Miller Time,

    Don't define the new column as a TimeStamp datatype... the TimeStamp data type in MS-SQL Server is actually a binary number used for row versioning and has nothing to...

  • RE: Help With Default Value

    Do you want the time included in the default, or not?  All of the posts, so far, include time.

  • RE: SET DATE TO 90 DAYS AGO

    That's a pretty good two cents... lot's of folks forget that there IS a difference between 90 days and 3 months.

    JN, here's the code without the time stripping part... that's...

  • RE: SET DATE TO 90 DAYS AGO

    Don't forget that just subtracting 90 days using either method will not take you to midnight of the given day... the current time element will be included unless you do...

  • RE: Finding no of weekend days between two dates

    This'll work if you have a DBA that doesn't understand the merits of a date table and it's short enough to use in inline code if the...

  • RE: Safety of Using sp_OA

    Hopefully, SP4 will fix some of the memory leaks.  It came out this last Friday.

    The problem in our shop used to be that no-one did a code review of other's...

  • RE: Filegroup full (NOT what you''''re thinking)

    I second Carl's suggestion about turning AutoShrink off... AutoShrink causes several problems not the least of which can be severe disk fragmentation and long wait times when it does need...

  • RE: connecting oracle database from sql server 2000 trigger

    I don't believe I'd use a trigger for this because if the Oracle DB or the connection to it is down, then your SQL Server...

  • RE: connecting oracle database from sql server 2000 trigger

    I don't believe I'd use a trigger for this because if the Oracle DB or the connection to it is down, then your SQL Server processes will start kicking off...

  • RE: Is there another way for this??

    I believe that it's called an "M-Space" and occupies the same width as the letter 'M", hence the name.  Since it's not a regular space character (ASCII 32), you may...

  • RE: why is the diference between a select and print output?

    Here's a couple of other differences...

    PRINT doesn't print those pesky column headers.

    PRINT outputs to the MESSAGES tab even if the GRID mode is turned on.  SELECT will print to the...

  • RE: updating without using Cursor

    Ok, so you've shown what doesn't work... what, in your estimation, would work if you were given that particular problem (the Adam Mechanic one) with that particular data?

  • RE: Column Naming Conventions (rears it''''s ugly head again :)

    Michelle/Dolphin,

    Thanks for the feedback on the medical community... I guess that's one place where the following saying (author unknown) applies...

    "Normalize 'till it hurts,

    DeNormalize 'till it works."

  • RE: updating without using Cursor

    >The proprietary syntax has unpredictable results.

    Only in something other than the SQL it was written in.  It is not upredictable in SQL Server. 

    >Notice that we did not use the...

Viewing 15 posts - 58,741 through 58,755 (of 59,065 total)