Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • standard Monitoring – 1 Oracle
  • Distributed Transaction Troubleshooting. Oracle
  • Generating XML from SQLPLUS Oracle
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • Implementation of key based authentications Linux/Unix
  • Wait Based Tuning Step by step with SQL statement Oracle
  • upload.html PHP/MYSQL/Wordpress
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • find_string_in_database.sql Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • VIvek Encryption Package and Its Usage Oracle
  • Good Site for Oracle Internals Oracle
  • initUOCIOTTO.ora Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • rm_backup_arch_file.ksh 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

  • dbinv.sql Oracle
  • Find sort details from Db find_sort.sql Oracle
  • How can I tell if ASO is installed ? Oracle
  • currwait.sql Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • refre.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)
  • 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
  • Formatter Explain plan Output 1 Oracle
  • copying/removing directory with all its subdirectory Linux/Unix
  • Renaming Oracle Instance Name Oracle
  • sqlnet.ora paramters Oracle
  • DB Console Mainenance. Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • Oracle Data Direct to TAPE Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme