May 14, 2003 #1 j2112 IS-IT--Management May 14, 2003 1 US Goal: Return all records where columnA is a multiple of 3. Anyone know of an sql statement that will do this? Thanks, j2112
Goal: Return all records where columnA is a multiple of 3. Anyone know of an sql statement that will do this? Thanks, j2112
May 14, 2003 #2 MarcLodge Programmer Feb 26, 2002 1,886 GB J2112, How about something like: SELECT COLCOUNT FROM SYSIBM.SYSTABLES WHERE COLCOUNT/3 * 3 = COLCOUNT Marc Upvote 0 Downvote
J2112, How about something like: SELECT COLCOUNT FROM SYSIBM.SYSTABLES WHERE COLCOUNT/3 * 3 = COLCOUNT Marc
May 15, 2003 #3 sathyarams IS-IT--Management Jan 2, 2002 290 GB Remember, here COLCOUNT is an INTEGER Cheers Sathyaram More DB2 questions answered at http://www.dbforums.com/f8 Upvote 0 Downvote
Remember, here COLCOUNT is an INTEGER Cheers Sathyaram More DB2 questions answered at http://www.dbforums.com/f8