Temp Table
Posted in 2006
Topics: General Discussion
Hi, Where in systables I can found a temp table? thx Marco Schwarz
Temp Tables can be found in sysmaster database:
{################################################# sysinfo_temp_tables.sql #
### who has temporary tables ? #############################################}
database sysmaster;
select dbsname dbname, tabname, c.owner,name dbspace,ti_nrows,ti_rowsize
from sysdbspaces a, systabinfo b, systabnames c
where a.dbsnum = ( trunc ( b.ti_partnum/1048576 ) )
and b.ti_partnum = c.partnum
and (
bitval(ti_flags,'0x0020')=1
or bitval ( ti_flags, '0x0040') = 1
or bitval ( ti_flags, '0x0080') = 1
)
gerd
> -----Ursprüngliche Nachricht-----
> Von: ids@iiug.org
> Gesendet: 05.05.06 11:42:39
> An: ids@iiug.org
> Betreff: Temp Table [6672]
>
> Hi,
>
> Where in systables I can found a temp table?
>
> thx
> Marco Schwarz
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192