1.1.1

Table Of Contents
Example
DROP TYPE price RESTRICT;
DROP VIEW
Remove the specied view.
Syntax
DROP VIEW [ IF EXISTS ] view-name
Description
Removes the specied view. Include the IF EXISTS clause to execute the statement only if the specied view
exists in SQLFire.
GRANT
Enable permissions for a specic user or all users.
Syntax
The syntax for the GRANT statement differs if you are granting privileges to a table or to a routine.
Syntax for tables
GRANT privilege-type ON [ TABLE ] { table-name | view-name } TO grantees
Syntax for routines
GRANT EXECUTE ON { FUNCTION | PROCEDURE } routine-designator TO grantees
Description
The GRANT statement enables permissions for a specic user or all users to perform actions on SQL objects.
The following types of permissions can be granted:
Perform DML operations on a specic table.
Insert/Delete rows from a table.
Select/Update data on a table or subset of columns in a table.
Create a foreign key reference to the named table or to a subset of columns from a table.
Dene trigger on a table.
Run a specied function or procedure.
Note:
This release of SQLFire does not support Loader/Writer/Listener privileges, Data Aware Procedure
privileges, where clause read privileges, or Write Behind Listeners privileges.
You cannot grant privileges to gateway senders or gateway senders when using WAN replication.
A GRANT statement is honored only when authorization mode is enabled by setting the
sqlfire.sql-authorization property to true.
vFabric SQLFire User's Guide522
vFabric SQLFire Reference