Advertisement

07.24.2008 at 06:03AM PDT, ID: 23591871
[x]
Attachment Details

How can i date stamp a CSV file?

Asked by Thisistheonlynameleft in PL / SQL, Oracle Database

Tags: plsql

Hi all,
have created a query that outputs to a CSV file. I would like to date stamp this CSV file when it is created in the query.
The code it needs placed into is shown bellow.
Any help will be greatfully recieved.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
set feedback off
set pages 0
set lines 120
spool /gtxappl/Stock_Mirroring/Results/pyfs_allocablestock_supply240708.csv
select upper('item_id,shipnode_key,onhand')  
from dual;
select a.item_id || ',' || b.shipnode_key || ',' || b.quantity  
from yfs_inventory_item a, yfs_inventory_supply b 
where b.supply_type = 'ONHAND'   
and b.inventory_item_key = a.inventory_item_key;
spool off
 
Loading Advertisement...
 
[+][-]07.24.2008 at 06:18AM PDT, ID: 22078752

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 06:34AM PDT, ID: 22078900

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 06:36AM PDT, ID: 22078921

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PL / SQL, Oracle Database
Tags: plsql
Sign Up Now!
Solution Provided By: Milleniumaire
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628