|
Archives of the TeradataForumMessage Posted: Tue, 04 May 2004 @ 18:38:07 GMT
<-- Anonymously Posted: Tuesday, May 04, 2004 13:36 --> Isn't there a dummy objectname you can specify in Teradata SQL where you must include the FROM clause even though you don't actually need to access a table? I know in some cases you don't need the FROM clause, e.g., 'SELECT DATE;'. But for example queries with UNION will fail: select 1 union select 0; 3888: A SELECT for a UNION,INTERSECT or MINUS must reference a table. I could swear I heard about this 'dummy table' in a Teradata Education class a few years ago but have never had occasion to use it. I know there are alternatives to this logic, but I am seeking an answer to this specific question. Thanks. p.s. Is it documented anywhere?
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||