Top "Temp-tables" questions

Temporary tables are a feature of RDBMS's as a means of storing intermediate results.

Best use of indices on temporary tables in T-SQL

If you're creating a temporary table within a stored procedure and want to add an index or two on it, …

tsql indexing sap-ase temp-tables
Using temp table with exec @sql in stored procedure

I have a stored procedure and part of them as below: @DRange is a incoming varchar value declare @sql varchar(…

sql-server stored-procedures temp-tables
Dynamic query results into a temp table or table variable

I have a stored procedure that uses sp_executesql to generate a result set, the number of columns in the …

sql-server dynamic-sql temp-tables table-variable sp-executesql
Can you define "literal" tables in SQL?

Is there any SQL subquery syntax that lets you define, literally, a temporary table? For example, something like SELECT MAX(…

sql mysql subquery temp-tables
Difference between heap table and temporary table in MySQL?

I am very new to MySQL. My question may wrong, if it is please correct or explain it. I Just …

mysql heap temp-tables
Is it possible to create a temp table on a linked server?

I'm doing some fairly complex queries against a remote linked server, and it would be useful to be able to …

sql sql-server linked-server temp-tables
Are temporary tables thread-safe?

I'm using SQL Server 2000, and many of the stored procedures it use temp tables extensively. The database has a lot …

sql-server multithreading temp-tables
Are indexes on temporary tables deleted when the table is deleted?

Would the following SQL remove also the index - or does it have to be removed separately? CREATE TABLE #Tbl (…

tsql indexing temp-tables
Why is MySQL 'insert into ... select ...' so much slower than a select alone?

I'm trying to store a query result in a temporary table for further processing. create temporary table tmpTest ( a FLOAT, …

mysql performance temp-tables insert-into mysql-cluster
Dropping Temp Table At End Of Stored Procedure In MySQL

Do I need to add DROP TEMPORARY TABLE IF EXISTS data; at the end of the stored procedure even though …

mysql temp-tables