Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • FRA Information. Oracle
  • dbms_job.submit example Oracle
  • VIvek Encryption Package and Its Usage Oracle
  • Rownum with Order by Oracle
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • Rollback force for distributed transactions Oracle
  • replace alphabets using sed Linux/Unix
  • Display the top 5 salaries for each department using single SQL Oracle
  • Running select from V$ views from remote server Linux/Unix
  • How to find where datafile is created dbf_info.sql Oracle
  • Good links for x$ tables in oracle. Oracle
  • SQL Server: How to see historical transactions SQL Server
  • oracle 11g RAC on vmware Oracle
  • crontab syntax 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

  • get_vmstat.ksh for Solaris Oracle
  • Wait.sql Oracle
  • How to stop OCSSD Daemon Oracle
  • shr1.sql for MTS or Shared server configuration Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • Explain Plan Output 2 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
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • Find Plan Hash value fphv.sql Oracle
  • oracle fast start failover best practice Oracle
  • Privilege to describe the table. Oracle
  • MYSQL and Oracle Comparison for Oracle DBA MYSQL
  • rm_backup_arch_file.ksh Linux/Unix
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme