SQL: One SELECT for one or several row, same WHERE.: "SELECT fld_id, fld_name, fld_lastname, fld_date, .....
FROM table_1
WHERE fld_date = 200301 AND
fld_id = CASE
WHEN :aux_id > 0
THEN aux_id
ELSE fld_id
END "
Monday, January 31, 2005
Subscribe to:
Post Comments (Atom)
Popular Posts
- Using QCLRDTAQ to clear data queues in CL and RPG
- UDATE and *DATE in AS400 RPG
- AS400 Job Scheduler
- Creating an as400 Query
- Adobe Flex 2.0 Beta
- ibm as400 manuals v5r4
- Encrypt Data on as400 (QC3ENCDT, Qc3EncryptData)
- Using as400 QRCVDTAQ api to retrieve a message / entry from a dataqueue
- Privacy Policy
- IBM WebSphere Developer Technical Journal: Maintain continuous availability while updating WebSphere Application Server enterprise applications
No comments:
Post a Comment