Thursday, April 14, 2011

SQL: Global Temporary tables


SQL: Global Temporary tables


Global temporary tables are distinct within SQL sessions.
The basic syntax is:
CREATE GLOBAL TEMPORARY TABLE table_name ( ...);

For example:
CREATE GLOBAL TEMPORARY TABLE supplier
(supplier_idnumeric(10)not null,
supplier_namevarchar(50)not null,
contact_namevarchar(50)
)
This would create a global temporary table called supplier .

No comments:

Post a Comment

Your comment is pending for approval

AngularJS Basics - Part 1

                                                                  AngularJS What is AngularJS ·          Framework by googl...