Article ID: 137944
Article Last Modified on 3/14/2005
CLOSE ALL
SET DEFAULT TO c:\temp
* A view cannot exist without a database.
* Create a database to contain view.
CREATE DATABASE zdb
* Create a connection for the view to use.
CREATE CONNECTION zconn DATASOURCE sqltest USERID sa PASSWORD ""
* Create the view using the remote connection.
CREATE SQL VIEW zview REMOTE CONNECTION zconn AS select * from ;
pubs..sales
* Open the view and browse the resulting data set.
USE zview
BROWSE
By default, a view is not updatable. For information about creating an
updatable view, please see the following article in the Microsoft Knowledge
Base:
130413 How to Create an Updatable Cursor (View) to Update Table
Additional query words: VFoxWin
Keywords: kbhowto KB137944