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
- Make del.icio.us bookmarks
- Three Languages For Java Programmers to Learn
- 10 Really as400 Helpful APIs
- Four Hundred Guru--Admin Alert: Moving Libraries Between i5/OS Partitions, Part 1
- as400 commands and APIs you'll use for handling messages
- Free AS400 & iSeries Software Tools & Utilities Downloads
- Common Gateway Interface (CGI) on the as400 / iSeries
- Recommended PHP reading list
- Difference between SFLINZ and SFLCLR keyword?
- 5250 Emulators
No comments:
Post a Comment