Archives of the TeradataForum
Message Posted: Wed, 17 Jan 2007 @ 13:27:32 GMT
Subj: | | Re: Question regarding dummy table |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Wednesday, January 17, 2007 08:31 -->
There is no system-defined one-row, one-column table in Teradata. If you create one of your own, be sure to declare the dummy column a UPI and
to specify that single PI value in your SELECTs for best performance.
Someone else recently suggested
SELECT ... FROM SYS_Calendar.Calendar
WHERE Calendar_Date = Current_Date;
|