Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • PLSQL Table Syntax 1 Oracle
  • Python class import from different folders Python/PySpark
  • Database logon trigger issue Oracle
  • restarting network in linux Linux/Unix
  • cold backup scripts to copy locally Linux/Unix
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Sample WW22 listener.ora Oracle
  • Backup and Recovery Scenarios Oracle
  • Jai Shree Ram Oracle
  • Recovering lost SYS password Oracle
  • Rename Oracle Instance Name Oracle
  • create database link syntax Oracle
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • create PLAN_TABLE command. Oracle
  • How to know current SID 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

  • Backup and Recovery Scenarios Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • Changing Instance Name ( No DB_NAME) Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • How to Make Trace Files Created by Oracle Readable by All Users ? 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Nice notes on wait events Oracle
  • checking redhat linux version Linux/Unix
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • Exadata Basics Oracle
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • Rownum with Order by Oracle
  • sqlnet.ora paramters Oracle
  • plan10g.sql good1 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme