Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • Default User Profile Oracle
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • find_pk.sql /* Find Primary Key */ Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • shutdown linux Linux/Unix
  • Import and export statements Oracle
  • Database logon trigger issue Oracle
  • oracle Dba site Oracle
  • First Entry in RAC Oracle
  • Insert cause enqueue locks Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • Single character replacement in Unix Linux/Unix

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

  • Another Tuning Article for subheap of shared pool Oracle
  • Check Oracle installed products using one command Oracle
  • To find explain plan for a statement that occurred in past. Oracle
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • Another export with Query Oracle
  • Oracle 10g for solaris 10 Oracle

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress
  • Shuffle an array PHP/MYSQL/Wordpress
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • DBMS_JOB all example Oracle
  • switchlogfile.sh Linux/Unix
  • cp_filesystem.sql Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • Very Good Oralce Internal Tuning Book Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme