Collection Contents Previous Next PDF

ASA SQL Reference

SQL Statements

CREATE PROCEDURE statement [T-SQL]


Description 

Use this statement to create a new procedure in the database in a manner compatible with Adaptive Server Enterprise.

Syntax 1 

The following subset of the Transact-SQL CREATE PROCEDURE statement is supported in Adaptive Server Anywhere.

CREATE PROCEDURE [owner.]procedure_name
[ [ ( ] @parameter_name data-type [ = default ] [ OUTPUT ], ... [ ) ] ]
WITH RECOMPILE ] AS statement-list

Usage 

The following differences between Transact-SQL and Adaptive Server Anywhere statements (Watcom-SQL) are listed to help those writing in both dialects.

Permissions 

Must have RESOURCE authority.

Side effects 

Automatic commit.

See also 
Standards and compatibility 

Collection Contents Previous Next PDF