DB2 LUW: Create (vs) Declared Global Temporary table

The main difference between declared and create global temporary tables is the SCOPE.

Declared Global Temporary table: Current session

Create Global Temporary table: At current server level. So, it exists for all users who connect.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: