Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to choose Driver table in SQL statement Oracle
  • database trigger failing Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Find Command Linux/Unix
  • sqlnet.ora paramters Oracle
  • sql_plan9i.sql Oracle
  • Find_planinfo.sql Oracle
  • Implementing Listener Security Oracle
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • UTL_FILE test program Oracle
  • Renaming Oracle Instance Name Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • Absolute file number and relative file number Oracle
  • checking connectivity between two servers Linux/Unix

runsql_once.ksh

Posted on 10-May-2008 By Admin No Comments on runsql_once.ksh

#!/bin/ksh

# This parameter will be for executing environment file.

$1

$ORACLE_HOME/bin/sqlplus -s “/ as sysdba” <set echo on time on timing on

select to_char(sysdate, ‘DD-MON-RRRR:HH24:MI:SS’) from dual;

@$2

EXIT

EOF

Linux/Unix, shell

Post navigation

Previous Post: send attachment from unix-shell script
Next Post: Find sort details from Db find_sort.sql

Related Posts

  • Generate SSH without password authentication. Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Zip and unzip with tar Linux/Unix
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix

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 (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • When error comes for temporary tablespace with version <= 9i Oracle
  • create database syntax Oracle
  • find the files that are 1 day old. Linux/Unix
  • Zip and unzip with tar Linux/Unix
  • get_vmstat.ksh Linux/Unix
  • Remove DOS CR/LFs (^M) Linux/Unix
  • scripts to take listener.log backup Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme