Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)

  • RE: Audit table design

    Would a separate trigger need to be created for each field we wish to log?

    No. Inside one trigger you can test whether a column was changed by using the UPDATE(fieldname)...

  • RE: maintenance plan skips to run

    It could help a lot if you posted a screen shot of the "schedule" dialog box for the job/maintenance plan you ran. There might be a relevant detail in there.

  • RE: Converting textual dates to actual dates

    I've long since dropped the WHERE clause. The SELECT statements in my last post all return the error, without any WHERE criteria included at all.

    I tried putting that statement in...

  • RE: Converting textual dates to actual dates

    Thanks, PW. That looked perfect at first.

    I tried your suggestion:

    Select Convert(datetime, Case OpeningDate When '' Then NULL Else OpeningDate End) As FormattedOpeningDate

    as well...

  • RE: Converting textual dates to actual dates

    Basically, no, it doesn't.

    This query you gave me:

    (SELECT Mattername, OpeningDate

    FROM tm5user.Matter

    WHERE ISDATE(OpeningDate) = 0)

    returns just the records where OpeningDate='' . If I add the criteria AND OpeningDate<>'' , then I get no records.

    Getting...

  • RE: Converting textual dates to actual dates

    The dates (again, in a varchar column) are all in m/d/yyyy format, like this:

    3/10/2004

    11/9/2003

    2/6/2005

    and I still get a result set in QA, with LOOKS right; the converted column looks like...

Viewing 6 posts - 1 through 6 (of 6 total)