skip to main
|
skip to sidebar
Ask Anantha (Mirror)
Mirror blog of http://askanantha.blogspot.com
Home
About
Posts RSS
Comments RSS
Contact
How do I put the current date in a spool file name?
column dcol new_value mydate noprint
select to_char(sysdate,'YYYYMMDD') dcol from dual;
spool &mydate._report.txt
-- my report goes here
select * from mytable;
spool off
Newer Post
Older Post
Home
Blog Archive
►
2009
(23)
►
June
(2)
►
May
(4)
►
April
(1)
►
March
(2)
►
February
(1)
►
January
(13)
►
2008
(40)
►
December
(7)
►
November
(1)
►
October
(2)
►
July
(5)
►
June
(1)
►
May
(10)
►
April
(4)
►
March
(2)
►
February
(5)
►
January
(3)
▼
2007
(94)
►
December
(3)
►
November
(4)
►
October
(11)
▼
September
(28)
EXP-00037: EXPORT VIEW NOT COMPATIBLE
Oracle Materialized Views
Selecting Nth MAX or MIN
Query to get free used and total space of each tab...
ORA-00980: synonym translation is no longer valid
Dynamic Ref Cursor with Dynamic Fetch
How to identify called procedure
Get Oracle table size
Oracle 10g: Exploring Data Pump
Data Manipulation Using Java in Oracle
What is Atomicity
Multipurpose code in Oracle and Oracle Forms
The power of Oracle certification
Oracle architecture v DB2 architecture
Data warehouse v Database
Hackers in your Database
How do I pass parameters to an SQL file
How do I delete an O/S file from within PL/SQL
Read file names using PL/SQL
How can I identify which index represents which pr...
Difference between unique index and unique constra...
Tips on exp and imp
Send a message to all logged in users
How do I put the current date in a spool file name?
Get the current Session ID
How to make "like '%xxxx' also using oracle index
Keeping Information Private with VPD
ORA-12154: TNS:could not resolve the connect ident...
►
August
(8)
►
July
(4)
►
June
(3)
►
May
(12)
►
April
(6)
►
March
(15)
►
2005
(2)
►
July
(2)
Labels
1Z0-001
(1)
1Z0-007
(1)
1Z0-047
(1)
1Z0-051
(1)
1Z0-101
(1)
1Z0-131
(1)
1Z0-132
(1)
Application Server
(5)
Certification
(2)
Database design
(1)
DB Administration
(8)
Deprecated
(1)
Download
(3)
Examples
(29)
Export Utility
(1)
FAQ
(11)
Features
(7)
Forms
(8)
FRM-Errors
(1)
HOW-To?
(7)
JInitiator
(2)
Migration
(2)
MS-SQL vs Oracle
(1)
OCP
(1)
ORA-Errors
(14)
Oracle Packages
(1)
Oracle Universal Installer
(1)
Oracle XE
(1)
OS Level
(2)
PL-SQL
(20)
Query
(17)
Reports
(3)
Scripts
(4)
Security
(2)
SQL
(53)
SQL *Plus
(5)
SQL Developer
(1)
Synonyms
(2)
Test yourself
(2)
Theoretical
(15)
Tips
(41)
Troubleshooting
(7)
Tuning
(6)
Tutorial
(32)
Utilities
(5)
XML
(3)