Mar 30, 2004 #1 lathspell Programmer Oct 3, 2003 1 FR I am seeing a 1267 error generated by the following code. select (today - interval(13) month to month) from Any_test_table If I substitute any other integer for the 13 it seems to work. Has anyone else seen this problem?
I am seeing a 1267 error generated by the following code. select (today - interval(13) month to month) from Any_test_table If I substitute any other integer for the 13 it seems to work. Has anyone else seen this problem?
Jul 17, 2004 #2 PHV MIS Nov 8, 2002 53,708 FR Have you tried this ? select today - 13 units month Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
Have you tried this ? select today - 13 units month Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
Jul 17, 2004 #3 vpshriyan IS-IT--Management Jul 26, 2002 356 IN PH: select today - interval(13) month to month select today - 13 units month Both these statement will fail, and will report 1267 error if the date is march 30 for any year. select date('03-30-2004') - 13 units month from systables where tabid=1; Regards, Shriyan Upvote 0 Downvote
PH: select today - interval(13) month to month select today - 13 units month Both these statement will fail, and will report 1267 error if the date is march 30 for any year. select date('03-30-2004') - 13 units month from systables where tabid=1; Regards, Shriyan