Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
roll back changes, and there is no automatic deletion of rows on commit. Here is
an example:
CREATE TABLE #t ( c1 INTEGER );
BEGIN
SELECT * FROM #t; -- still displays 1
CREATE TABLE #t ( c1 INTEGER );
INSERT #t VALUES ( 2 );
SELECT * FROM #t; -- now displays 2
END;
Tip: Local temporary tables arent just for stored procedures. You can create
and use them from client-side application code; for example, PowerBuilders
EXECUTE IMMEDIATE can be used to create a temporary table that you can then
reference in a DataWindow SELECT.