Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • UTL_FILE test program Oracle
  • plan10g.sql good Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • My Minimum Tuning Programs Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • Oracle Connections expire_time and firewall Oracle
  • move_arch_files.ksh Linux/Unix
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • dbms_job.submit example Oracle
  • S3 Basic info AWS
  • find checksum of a file. Linux/Unix
  • standard Monitoring – 1 Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle

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

  • switchlogfile.sh Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • Linux CPU info. Linux/Unix
  • on IBM-AIX for display Linux/Unix
  • find the files that are 1 day old. Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Multiple listeners Oracle
  • DBMS_JOB all example Oracle
  • catall.sh Linux/Unix
  • Specify the Rollback segment to use in Transaction Oracle
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • Which environment is used by currently running process ( Very good) Linux/Unix
  • crontab syntax Linux/Unix
  • Query to Generate aggregate on every 30 mins. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme