updateSqlView

The updateSqlView element allows an existing SQL View to be modified.

Example:

<updateSqlView name="wipelm_all" >
    <groupName>sqlviewgroupname</groupName>
    <description>This is the description of the updated SqlView.</description>
    <sql>select web_login as owner from table_empl_user union select req_originator as owner from table_fcs_detail</sql>
 </updateSqlView>

Required Attributes:

Attribute Name

Description

name

Specifies the name of the SQL View.


Optional Child Elements:

Element Name

Description

description

Description of the SQL View and its purpose.

groupName

Specifies the name of the application module used by the SQL View.

baseTable

Specifies the name of the main tables used in the view.

sql

The actual SQL that defines the view.

Optional Attributes

Name

Description

targetDatabase

Users of Amdocs 6 or later databases can specify this optional targetDatabase attribute when using Amdocs 6 compatible Schema scripts.

Sql elements with no targetDatabase attribute are the default SQL statement for the view.

When a sql view has a targetDatabase specified that matches the database the schema script is being applied against. Database specific version of the SQL statement will be used.

Possible targetDatabase attribute values are:

  • mssql
  • oracle
  • db2

 

See Also

schemaScript

addColumn

addExclusiveRelationSet

addIndex

addJoin

addRelation

addSqlView

addSqlViewColumn

addTable

addView

addViewColumn

updateColumn

updateIndex

updateJoin

updateRelation

updateTable

updateSchema

updateSqlViewColumn

updateView

updateViewColumn

Next

updateSqlViewColumn

updateSqlView