Subject | Re: [firebird-support] Equivalent to Oracle's Select .... from dual |
---|---|
Author | Martijn Tonies |
Post date | 2004-06-04T18:04:28Z |
Hi,
one-row table, or simply do this:
CREATE TABLE DUAL ( DUMMY CHAR(1));
COMMIT;
INSERT INTO DUAL ('X');
COMMIT;
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> In Oracle we used to doEither use table "RDB$DATABASE", which is also a
>
> Select <expression>
> from Dual
>
> e.g. Select F_dayofmonth('01-apr-2004')||' '||F_Dayofweek('01-apr-2004')
> from dual
>
> result will be "01 Mon"
>
> Is there any equivalent to this in Firebird SQL ?
one-row table, or simply do this:
CREATE TABLE DUAL ( DUMMY CHAR(1));
COMMIT;
INSERT INTO DUAL ('X');
COMMIT;
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com