Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create view in ms sql (where form_type=['C']
Message
From
15/11/2006 11:05:15
 
 
To
15/11/2006 11:01:00
Arjun Bagojikop
Dynamic Super Software
Sangli, India
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01169818
Message ID:
01169870
Views:
8
>yes borislav
>i want sql server view
>i know doesn't work with parameter in view
>i want to create view like
>
>IN VFP
>
>create view view1 as
>select * from table1 where form_type=['C']
>
>THIS VIEW HOW CAN I WRITE IN SQL SEVER

The same way as in VFP (See Cetin's answer).
Open query analyzer, open your database and type:
CREATE VIEW View1 AS
select * from table1 where form_type = ''C''
Press F5
I don't know how you keep values in form_type field with or without quotation marks.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform