IBM Support

Flexible Views

News


Abstract

Flexible Views

Content


Traditional views are based upon a query where the object references, and therefore also the behavior, is locked in when the view is created.  SQL views have had read-only flexibility when the WHERE clause referenced Db2 built-in global variables or Db2 global variables.

With the latest Db2 PTF Group, SQL views with a WHERE clause that references built-in global variables or Db2 global variables are eligible to be insertable, updateable, and deletable.

Example:

image-20200115131415-1

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Component":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
15 January 2020

UID

ibm11164574