Subject | Re: [firebird-support] Work with 2 SQLs or more |
---|---|
Author | Martijn Tonies |
Post date | 2003-08-13T07:40:17Z |
Marc,
the first SQL and the second SQL should work with the results from the
first. Know what I mean?
SQL1 to a view.
Something like:
CREATE VIEW SALES_VOL_30000 AS
select * from article where sales_volumn >= 30000
And then do:
select field1, field4 from SALES_VOL_3000 where field...
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com
> That's not what I want. The SQL where only a example (ok a very badexample). What I want is I send 2 SQL to the Interbase Server. He should run
the first SQL and the second SQL should work with the results from the
first. Know what I mean?
>Yes, I know what you mean - but that isn't possible unless you save
SQL1 to a view.
Something like:
CREATE VIEW SALES_VOL_30000 AS
select * from article where sales_volumn >= 30000
And then do:
select field1, field4 from SALES_VOL_3000 where field...
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com