Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to stop OCSSD Daemon Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • S3 Basic info AWS
  • How to sort list of files on basis of their sizes. Linux/Unix
  • online_ts_bkup.sql Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • New OFA for 11g Oracle
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • Export With Query Another Example. Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • Committing distributed transaction using commit force Oracle
  • Removing Ctrl-M from end of line using vi 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

  • Rownum with Order by Oracle
  • Difference between SYNC and AFFIRM Oracle
  • sid_wise_sql.sql Further explaination Oracle
  • SYSOPER Mystery Oracle
  • Rollback force for distributed transactions Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database 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
  • move_arch_files.ksh Linux/Unix
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • Python class import from different folders Python/PySpark
  • Changing Instance Name ( No DB_NAME) Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Sample WW22 listener.ora Oracle
  • Sending email with file attachment. Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme