What is a temp table? how to denote temp table?

Answer Posted / leena bejoy

Any table with name starting with '#' is automatically put
into tempdb database.
Temp tables allow developers to create and scan tables
within a stored procedure - and
have the tables totally isolated from all other database
connections. This is very
valuable when results need to be processed several times
within a loop, or when
a complex result set is expected (like a crosstab). Note
that temp table transactions
are logged within tempdb (exception: select into create
statements).

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between sybase and oracle?

469


When should I execute an sp_recompile in sybase?

463


Is sybase a database? Explain.

478


What are the main differences between 11.x and 12.x versions of sybase?

460


Explain the role of replication server in sybase.

477






How can I tell the datetime my server started?

473


What you need to do is issue an ase kill command on the connection then un-suspend the db?

528


What happen when we delete the table using trigger?

485


How do the blocker processes exist internally in sybase?

477


How do you check database space? What measures are there to increase the db space?

505


What is the default table size in sybase?

468


What is table partitioning in sybase?

466


Compare join and subquery in performance?

554


What is ceiling()?

538


Explain procedure cache?

513