dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: SQL
Expertise: Intermediate
Jun 22, 2018

Temporary Tables in MySQL

We may want to use a table to store values while computing, which in turn might be used by subsequent processing. But, for sure, this working data must not be stored in an actual table that is part of the product. MySQL has a solution with TEMPORARY tables.

These tables are created using TEMPORARY and are visible for the current session only and thereafter cease to exist.

Syntax:

CREATE TEMPORARY TABLE new_table
M S Sridhar
 
Thanks for your registration, follow us on our social networks to keep up-to-date