Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • standard Monitoring – 1 Oracle
  • Wait.sql Oracle
  • column level grant syntax Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • reset Sequence Oracle
  • To check whether standby is recovering properly or not?? Oracle
  • compile_inv.sql Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Changing the Global Database Name Oracle
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • PLSQL Table Syntax 2 Oracle
  • Oracle Connections expire_time and firewall Oracle
  • handling filenname with space Linux/Unix
  • Rman Notes -1 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

  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • Flowers Resize datafiles Oracle
  • How to calculate PROCESSES parameter Oracle
  • Temporary tablespace explaination Oracle
  • Export Oracle data and Compress at same time Oracle
  • How can I tell if ASO is installed ? Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • find_idle_cpu.sql Oracle
  • Example of How To Resize the Online Redo Logfiles Note:1035935.6 Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • Finding locked objects Oracle
  • Privilege to describe the table. Oracle
  • Find Command Linux/Unix
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • cold backup scripts to copy locally Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme