Subject | Re: [firebird-support] Select * from where 0=1 |
---|---|
Author | Martijn Tonies |
Post date | 2004-03-24T11:30:05Z |
Hi,
But why do you want to do this?
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> > > I need to come up with a statement that's as fast a #2 but also workson
> > > most IB/FB engines.much
> > > How should this statement look like ?
>
> > select * from table where pkcolumn = nonexistingvalue.
>
> The problem with this statement is that it forces me to know a bit too
> about the table :No.
> a column name and a non-existing value.
>
> Ideally, I'd need something more generic.
> Any other hint ?
But why do you want to do this?
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com