My Oracle Support Banner

Including a Timestamp or Your Own File Extension in a Spool File Name (Doc ID 2191.1)

Last updated on JANUARY 31, 2022

Applies to:

SQL*Plus - Version 9.2.0.8 and later
Information in this document applies to any platform.
Information in this document applies to any platform.
 

Purpose

This bulletin illustrates a method of programming a script to automatically label each spool filename with a timestamp of the date and time of the script execution.


Scope

It is intended for any user.

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Scope
Details
 Background 
 Script

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.