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
- as400 Iseries Tips
- Using as400 QRCVDTAQ api to retrieve a message / entry from a dataqueue
- Common Gateway Interface (CGI) on the as400 / iSeries
- Configuring Tomcat5 and Apache2 with Virtual Hosts using mod_jk
- Why Crunch Mode (Long Hours) Doesn't Work
- Adobe Flex 2.0 Beta
- EclipseZone - Clean Up Warnings with the 'restriction' Suppression Flag
- AS400 Job Scheduler
- AS400 APIs
- as400 iSeries NetServer Disabled user profiles
No comments:
Post a Comment