Prepare for your Next Interview
This is a discussion on IBMSNAP_LOGMARKER error Q3.$c5, Q3.$c2 are not valid within the DB2 forums, part of the Databases category; Hi, i'm working in db2. I've to tune the below query. Select a.run_dates_stations_id, a.station_master_id, a.run_dates_id,b.call_letters, b.dma_id from contract.run_dates_stations a left outer ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
IBMSNAP_LOGMARKER error Q3.$c5, Q3.$c2 are not valid
Hi, i'm working in db2. I've to tune the below query.
Select a.run_dates_stations_id, a.station_master_id, a.run_dates_id,b.call_letters, b.dma_id from contract.run_dates_stations a left outer join customer.station_master b on a.station_master_id=b.station_master_id where (a.ibmsnap_logmarker= '1900-01-01 11:16:30.0' or b.ibmsnap_logmarker= '1900-01-01 11:16:30.0') when i searched for access plan & optimized query in db2 command center, i found the below optimized query. Select q3.$c4 as "run_dates_stations_id", q3.$c6 as "station_master_id", q3.$c3 as "run_dates_id", q3.$c1 as "call_letters", q3.$c0 as "dma_id" from (select q2.dma_id, q2.call_letters, q2.ibmsnap_logmarker, q1.run_dates_id, q1.run_dates_stations_id, q1.ibmsnap_logmarker, q1.station_master_id from contract.run_dates_stations as q1 left outer join customer.station_master as q2 on (q1.station_master_id = q2.station_master_id)) as q3 where ((q3.$c5 = '1900-01-01-11.16.30.000000') or (q3.$c2 = '1900-01-01-11.16.30.000000')) the query is not working and giving an error q3.$c5, q3.$c2 are not valid. Both should refer to ibmsnap_logmarker field for the two tables. Can anyone suggest/improve the query? |
| Sponsored Links |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Testcase for valid equivalence class | tamizh21 | Test Cases | 4 | 10-23-2007 05:01 AM |
| IO Error | malashanbhag | Seibel | 0 | 10-19-2007 08:03 PM |
| Getting error "syntax error in ObjectRepository" | siteuse | QTP | 1 | 07-05-2007 03:57 PM |
| DB2 Error | Geek_Guest | DB2 | 0 | 06-16-2007 04:59 PM |
| Report Net on XP gives error, Cryptographic error has occured | chandrabhoopathy1 | Data Warehousing | 0 | 05-24-2007 06:07 PM |