Thanks Vlad,got it..
And one more thing,as per my understanding both temp. and spool space is the total unused space in the whole DB.
In that case,i came across the below scenario which could not prove the above rule.
Scenario:A volatile temporary table is created by joining two tables and the table is used in only once in the whole query.When i asked my fellow colleague why we cannot use the join directly in the query without creating a temp. table,and he told me that this would reduce the spool space if other tables in the same query could occupy more spool space.Careting temp.table in which way will reduce the spool space,since both are unused space in DB,if spool space is full then temp. space will also be full.
And i came through a post in the forum stating that creating temporary table will reduce the spool space.
Can u just tell how the above scenario will work..
Thanks Vlad,got it..
And one more thing,as per my understanding both temp. and spool space is the total unused space in the whole DB.
In that case,i came across the below scenario which could not prove the above rule.
Scenario:A volatile temporary table is created by joining two tables and the table is used in only once in the whole query.When i asked my fellow colleague why we cannot use the join directly in the query without creating a temp. table,and he told me that this would reduce the spool space if other tables in the same query could occupy more spool space.Careting temp.table in which way will reduce the spool space,since both are unused space in DB,if spool space is full then temp. space will also be full.
And i came through a post in the forum stating that creating temporary table will reduce the spool space.
Can u just tell how the above scenario will work..