|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Firebird and temporary tables.
I have one more question.
Is there in Firebird something like temporary tables? I used this many times in my stored procedures in MSSQL, and here I can't find nothing like that. Thank you again. |
|
#2
|
|||
|
|||
|
Not officially, but there is some implementation of temp tables.
I am using Firebird 7-8 years (under name Interbase first ), and never needed temp tables. You can simulate them using stored proc's...-- Best regards, Fikret Hasovic http://fikret.fbtalk.net USAID TAMP Senior Programmer * FirebirdSQL Foundation member. - Join today at http://www.firebirdsql.org/ff/foundation * JEDI VCS contributor http://jedivcs.sourceforge.net/ * Firebird and Fyracle news http://www.fyracle.org/shownews.php |
|
#3
|
|||
|
|||
|
[QUOTE=fikret]Not officially, but there is some implementation of temp tables.
I am using Firebird 7-8 years (under name Interbase first ), and never needed temp tables. You can simulate them using stored proc's...I don't know if you understand me. I'm using temporary tables in stored procedures in MSSQL. They are active only in stored procedure. And it is a very effective tool. I think... How do you simulate them in Firebird through stored proc's? Thank you. |
|
#4
|
|||
|
|||
|
[QUOTE=smrtelnik
I don't know if you understand me. I'm using temporary tables in stored procedures in MSSQL. They are active only in stored procedure. And it is a very effective tool. I think... How do you simulate them in Firebird through stored proc's? Thank you.[/QUOTE] I DO understand ![]() In Firebird you can create selectable stored procedures... -- Best regards, Fikret Hasovic http://fikret.fbtalk.net USAID TAMP Senior Programmer * FirebirdSQL Foundation member. - Join today at http://www.firebirdsql.org/ff/foundation * JEDI VCS contributor http://jedivcs.sourceforge.net/ * Firebird and Fyracle news http://www.fyracle.org/shownews.php |
|
#5
|
|||
|
|||
|
Ok. Now, if I understand, in Firebird you can make stored procedure, that returns table (or set of rows), you can use in another stored procedure?
Is it right? Ok, thank you very much Fikret. |
|
#6
|
||||
|
||||
|
Quote:
yes ![]() |
|
#7
|
|||
|
|||
|
Firebird Stored Procedures / MSSQL
Quote:
Following this thread I thought I'd mention that in MSSQL you can create a temporary table based on the results of a select / other criteria, therefore it is dynamic. Thats the real power. How can you do this in Firebird? Thanks John |
|
#8
|
||||
|
||||
|
Quote:
Quote:
BTW, Firebird 2.1 (currently in alpha stage) supports global temporary tables.
__________________
My blog Tutorials about OSS databases, DBMonster ... Contribute to OSS Development, fill bug reports! Developer Shed eSupport Commented my.ini/my.cnf (ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins Random data (with a bias) |
|
#9
|
|||
|
|||
|
Quote:
By changing the values of the parameters you pass into your stored procedure. Clive |
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > Firebird and temporary tables. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|