Download

The SQL Editor that was designed with you in mind.

Home About Product Features Screenshots Videos Download\Purchase Support Forum

Query Your Database for View DDL

The following SQL can be used to query your database system tables for view DDL.

Sybase ASE

SELECT A.text
  FROM syscomments A
 WHERE A.id = Object_Id(:sView)
 ORDER BY colid

Oracle

SELECT text, line
  FROM all_source
 WHERE type = 'VIEW'
   AND owner = :sOwner
   AND name = :sView

SQL Server

SELECT A.text
  FROM syscomments A, sysobjects B
 WHERE A.id = B.id
   AND B.id = Object_Id(:sView)
 ORDER BY colid

SQL Anywhere

SELECT A.text
  FROM syscomments A
 WHERE A.id = Object_Id(:sView)
 ORDER BY colid
SQL Query Tool Download
QweryBuilder Trial
19,672 KB - Version: 7.1.1

QweryBuilder is an SQL Editor and Query Tool. Its purpose is to make accessing information from a database simple, quick, accurate and efficient.

Work with your SQL Server, ASE, SQL Anywhere and Oracle databases in one single application.

"QweryBuilder is a great, easy to use tool, that is a part of my everyday programmer life."

Read More Testimonials
SQL Query Tool  |  SQL Editor  |  Database Development Tool  |  SQL References  |  Testimonials
Copyright © 2008-2012 Werysoft Inc. All rights reserved.
Follow us on:   Join us on Facebook Follow us on Twitter Join us on Google+ Read our blog