Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DB2 Pass-Through query question

Status
Not open for further replies.

krymat

Technical User
Jul 25, 2000
105
I need to extract the last 90 days worth of data from a DB2 database. I have ODBC drivers setup already and I can link in and get the data with a select query but it takes a long time. I was hoping a Pass-Through query would speed it up, but I'm having problems with the SQL. I can get the following to work:

Select * from #ISCPIP.KPOD_T where CHNG_LOG_DATE_1 = '10/28/2001'

How would I get the Last 90 days worth?
 
I believe there is a DB2 forum here, you might want to check there as there is most likely SMALL differences between Access SQL and DB2 SQL that will make a BIG difference!

HTH Joe Miller
joe.miller@flotech.net
 
I have reposted this question in the DB2 Forum
thread178-165592
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top