Mar 29, 2003 #1 Ajaygupta Programmer Mar 24, 2003 21 IN hi Dear I am facing problem to get sql statement... I want current year quater data, previous year quater, and current year previous quater as on date. How I will write the sql statement. rgs
hi Dear I am facing problem to get sql statement... I want current year quater data, previous year quater, and current year previous quater as on date. How I will write the sql statement. rgs
Mar 31, 2003 #2 blom0344 Technical User Mar 20, 2002 3,441 NL Create an object like: (CHAR(YEAR(DATE)) || CHAR(MONTH(DATE)) ) to get the proper periods to choose from. (like 200303) The exact syntax depends on your RDBMS , this syntax is for DB2. Alternative is to work with calenderfiles........ T. Blom Information analyst tbl@shimano-eu.com Upvote 0 Downvote
Create an object like: (CHAR(YEAR(DATE)) || CHAR(MONTH(DATE)) ) to get the proper periods to choose from. (like 200303) The exact syntax depends on your RDBMS , this syntax is for DB2. Alternative is to work with calenderfiles........ T. Blom Information analyst tbl@shimano-eu.com