Viewing 5 posts - 1 through 5 (of 5 total)
Hi Dave,
Error trapping in UDF is very limited. You're best approach is validating the input before use. In this case, the ISDATE function would do the trick.
There's also the...
August 20, 2004 at 6:15 am
In addition to locking as a likely cause, another reason for the difference can be I/O times. If there is a major difference in the amount of framgmentation between the...
August 19, 2004 at 5:38 am
I've found that DB2 (on a 400) is case sensitive in some places. In particular, I suggest that you capitolize the library.schema.table name, which you have in lower case.
August 19, 2004 at 5:32 am
Doing what you want isn't possible in a UDF. UDF's don't allow execution of dynamic SQL. The results set returned by the UDF must be declared when the UDF is...
August 12, 2004 at 5:44 am
There's a function that will do what you want at this link:
http://www.novicksoftware.com/UDFofWeek/Vol2/T-SQL-UDF-Vol-2-Num-14-udf_DT_NthDayInMon.htm
Regards,
Andy
August 9, 2004 at 6:07 am
Viewing 5 posts - 1 through 5 (of 5 total)