- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
There is a DB2 view VIEW1. How to get the definition of this view?
To get a DB2 view definition we can use the SYSIBM.SYSVIEW DB2 system table. The SYSVIEW table stores the details about all the views that exist in DB2. We can give below SQL statement to find the view definition.
SELECT NAME, SEQNO, TEXT FROM SYSIBM.SYSVIEWS WHERE NAME = ‘VIEW1’ ORDER BY SEQNO;
The VIEW can have definitions in multiple lines denoted by the SEQNO. That is the reason we need to use ORDER BY SEQNO so as to give the view definition in correct order. The exact definition is available in the TEXT column.
- Related Articles
- How can we get the definition of a MySQL view as we can get the definition of a MySQL table?
- How to get the dimensions of a view in Android?
- How to get the dimensions of a view in iOS App?
- How to get the absolute coordinates of a view in Android?
- How can we modify the definition of a MySQL view without dropping it?
- View stored procedure/function definition in MySQL?
- Is there a way to create a MySQL “alias” while creating a VIEW?
- How to get current location in android web view?
- Grant a user permission to only view a MySQL view?
- How to create a MySQL view?
- Having two eyes gives a person:(a) deeper field of view (b) coloured field of view(c) rear field of view (d) wider field of view
- Get the unmodifiable view of the specified ArrayList in Java
- How can we create a MySQL view based on another existing view?
- Difference Between View and Materialized View
- How to view array of a structure in JavaScript?

Advertisements