Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • find_cons.sql Oracle
  • Remove duplicate rows from table Oracle
  • setting prompt display with .profile Linux/Unix
  • Find All internal Parameters Oracle
  • fuser to check who is using diretory Linux/Unix
  • Sequence Resetting Oracle
  • Important Script Method for tuning Oracle
  • chk_space_SID.ksh Linux/Unix
  • How to stop OCSSD Daemon Oracle
  • get_vmstat_solaris Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • get_aix_vmstat.ksh Oracle
  • Pending Transaction Neighbors Script Oracle
  • DBMS_STATS Metalinks 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

  • Explain Plan Output 2 Oracle
  • plan10g.sql good Oracle
  • switchover for primary database Oracle
  • Jai Shree Ram Oracle
  • Example of How To Resize the Online Redo Logfiles Note:1035935.6 Oracle
  • Facts about SCN and Rollback Segment 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • create user with unlimited quota Oracle
  • Building Our Own Namespaces with “Create Context” Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Find long Running Transaction Linux/Unix
  • Another export with Query Oracle
  • Ports used by Oracle Software Oracle
  • find_idle_cpu.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme