If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > SQL Servers view meta data(urgent)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-24-04, 05:01
Ach Ach is offline
Registered User
 
Join Date: Mar 2004
Posts: 370
Question SQL Servers view meta data(urgent)

Hi all,
I want to extract constraints within the views definition.
for example in such a view definition query:
" create view student_view as select stdid, stdname from student_table where stdid > 675; "
how can i extract (stdid > 675) from any tables or views in Sql server 2000? (I don't like to parse "create view ..." query!)

-thanks in advance
Reply With Quote
  #2 (permalink)  
Old 11-24-04, 13:25
tuenty tuenty is offline
Registered User
 
Join Date: Nov 2004
Posts: 108
use the wizard

in SQL Server 2000
open dB
right click view
all task\generate sql scripts
and follow the wizard
__________________
to err is human ; to really mess things up requires a computer
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On