Subject | Re: [firebird-support] Select * from where 0=1 |
---|---|
Author | Martijn Tonies |
Post date | 2004-03-25T08:28:21Z |
> >I need to retrieve an empty resultset with all fields of a given table. II believe this depends on what connectivity set you're using.
> >tried the two following queries :
>
> If you need only fields definition, there is no need to open
> dataset. Prepare is quite enough.
For example, this works fine with all Firebird connectivity sets,
but doesn't for, say, ADO or ODBC.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com