Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • note id 373303.1 Linux/Unix
  • Transfer SQL Profiles from One database to other database. Oracle
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • Good Site for Oracle Internals Oracle
  • How to calculate PROCESSES parameter Oracle
  • GSQ.sql Oracle
  • Good Link from metalink 1 Oracle
  • switchover for primary database Oracle
  • Good links for x$ tables in oracle. Oracle
  • RAC with RHEL4 and 11g Oracle
  • OEM-Commnds Oracle
  • All Hints for Oracle Databases Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • Rename Oracle Instance Name Oracle
  • Find average Row Length and other table size calculation. metalink notes 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

  • database trigger failing Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Nice notes on wait events Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • get_vmstat_linux 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • handling filenname with space Linux/Unix
  • Kill a session dynanically using execute immediate Oracle
  • Find nth max and min. Oracle
  • catall.sh Linux/Unix
  • Removing Blank lines from file using grep Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme