Simple Oracle Questions!

From: Jay Patel <pateljb_at_ucunix.san.uc.edu>
Date: 3 Jun 1994 12:39:57 -0400
Message-ID: <2snmct$cla_at_ucunix.san.uc.edu>


Folks,

I'm learning Oralce (6.0), so please, excuse my simple questions.

  1. How'd I subtract Time??

        I tried :

                to_char(f1, 'HH24:MM:SS') - to_char(f2, 'HH24:MM:SS')

        but, it doesn't work.

2) Can I interst a character(i.e., *) in the output of a select??

        select Name, Zip from Tab1;

        I want the output to be

		Name1 *	Zip1
		Name2 *	Zip2
		Name3 *	Zip3

Thanx in advance for your help..

-- 
------------------------------------------------------------
Jay Patel			pateljb_at_ucnix.san.uc.edu
Disclaimer: Opinions - they're mine, all mine. Details on the back. 
Received on Fri Jun 03 1994 - 18:39:57 CEST

Original text of this message