What is DECLARE Statement?

  • The DECLARE statement is used to declare sub-program i.e. sub procedure or user defined functions.
  • for SUB .. Procedure 
    • Syntax:
      • DECLARE SUB name [(parameter list)]
 For example (click)

  • for FUNCTION ... Procedure 
    • Syntax:
      • DECLARE FUNCTION name [(parameter list)]
For example (click)

Share :

Twitter
Back To Top

facebook main

counter

Powered by Blogger.