Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • TRUNCATE Privs Oracle
  • Export Import with QUERY Oracle
  • Specify the Rollback segment to use in Transaction Oracle
  • database trigger failing Oracle
  • move_arch_files.ksh Linux/Unix
  • Error Handling in Proc Oracle
  • find_cons.sql Oracle
  • to see when crontab is changed. Linux/Unix
  • upload.html PHP/MYSQL/Wordpress
  • Handling LOB data in Oracle Oracle
  • fkwoind.sql fkwoindex.sql Oracle
  • How to see which patches are applied. Oracle
  • oracle fast start failover best practice Oracle
  • Rman Notes -1 Oracle
  • Good links for x$ tables in oracle. Oracle

executing Function from SQLPLUS prompt

Posted on 21-May-2006 By Admin No Comments on executing Function from SQLPLUS prompt

SQL> variable komal number

SQL> begin

2 :komal := add_me(45,12);

3 end;

4 /

PL/SQL procedure successfully completed.

SQL> print komal

KOMAL

———-

57

SQL> variable tejal number;

SQL> execute :tejal := add_me(10,20)

PL/SQL procedure successfully completed.

SQL> print tejal

TEJAL

———-

30

SQL>

Oracle, SQL scripts

Post navigation

Previous Post: Parallel DML
Next Post: copying/removing directory with all its subdirectory

Related Posts

  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • Histogram Overview Oracle
  • EXTPROC Oracle
  • prepfiles.sh for step by step generating pending statistics files Oracle
  • online_bkup.sql Oracle
  • Oracle Support Metalink ID 161818.1 Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (399)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (347)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • create trigger syntax Oracle
  • FGA Part-I Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • V$ROLLSTAT status is Full Oracle
  • Good notes for shared pool Oracle
  • shutdown linux Linux/Unix
  • Logic to chech # of parameters command line parameters Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme