Viewing 6 posts - 1 through 6 (of 6 total)
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)...
February 17, 2014 at 2:51 pm
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.
February 17, 2014 at 1:52 pm
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...
March 10, 2005 at 3:41 pm
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...
March 10, 2005 at 3:04 pm
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...
March 10, 2005 at 1:48 pm
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...
March 10, 2005 at 12:48 pm
Viewing 6 posts - 1 through 6 (of 6 total)