Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • export import with parameter file. Oracle
  • Check SQL Server edition SQL Server
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • find checksum of a file. Linux/Unix
  • Proc code Oracle
  • Python class import from different folders Python/PySpark
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Drop tempfiles from database Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • check_copy_progress.sh Linux/Unix
  • Wait Based Tuning Step by step with SQL statement Oracle
  • Optimizer_Index init.ora parameter explaination. 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

  • Oracle 10g Wait Model Oracle
  • switchover for primary database Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • sid_wise_sql.sql Oracle
  • online_bkup.sql Oracle
  • findobj.sql 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
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • how to find OS block size Oracle
  • get_vmstat.ksh Linux/Unix
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • When to rebuld B-tree index Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • Creating never expiring DB user accounts in Oracle Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme