DELETE VIEW Command Example

The following example opens the testdata database. CREATE SQL VIEW is used to create a local SQL view named myview. The View Designer is displayed, allowing you to specify tables and conditions for the SQL view. After you save the SQL view, DISPLAY DATABASE is used to display information about the SQL view. DELETE VIEW is then used to delete the local SQL view named myview.

CLOSE DATABASES
OPEN DATABASE (HOME(2) + 'Data\testdata')

CREATE SQL VIEW myview
CLEAR
DISPLAY DATABASE
DELETE VIEW myview