CoderZone.org

Category: >> Oracle PL/SQL >> FUNCTIONS: Create function Bookmark and Share

<< lastnext >>

Snippet Name: FUNCTIONS: Create function

Description: Example of how to create a simple function.

Also see:
» Create an array from words in an H...
» Create an array from the contents ...
» Create an array from the lines of ...
» Create an array from comma separat...
» Create an array from a range of le...
» Create Filler Text
» Dynamically create HTML elements
» Create a drop down menu from an ar...
» FUNCTIONS: Deterministic
» FUNCTIONS: Nested Functions
» FUNCTIONS: IF statement
» FUNCTIONS: date/time
» FUNCTIONS: Sample functions
» FUNCTIONS: drop
» FUNCTIONS: Recompile
» FUNCTIONS: DEBUG mode
» FUNCTIONS: IN OUT parameter
» FUNCTIONS: with output parameters
» FUNCTIONS: with parameters
» FUNCTIONS: without parameters
» FUNCTIONS: special restrictions
» FUNCTIONS: System Privileges
» TABLESPACE: Create temp tablespace
» USERS: CREATE USER w/ authenticati...
» Create Database Link
» IN Function
» Check Constraint - Create
» Built-In Functions: CASE
» Built-In Functions: DECODE

Comment: (none)

Author: CoderZone
Language: PL/SQL
Highlight Mode: PLSQL
Last Modified: March 13th, 2009

CREATE OR REPLACE FUNCTION fn_easy RETURN VARCHAR2 IS
 
BEGIN
  RETURN 'This is a simple function';
END fn_easy;
/
 
 
There haven't been any comments added for this snippet yet. You may add one if you like.  Add a comment 
© coderzone.org | users online: 5