![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 05 Jan 2005 @ 10:48:10 GMT
Hi, Consider the below pseudo code for a macro. Create macro m1(start_dt) as
sel * from t1 where t1.dt= :start_dt;
I need this macro to select all rows when I pass NULL for the start date. Any thoughts? Thanks, Vivek
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||