Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can i get seconds in query?

Status
Not open for further replies.

CALYAN

Programmer
Apr 23, 2001
39
0
0
US
select to_char(plp_chg_timestamp, '%d %m %R') from <table name>

what i have to do to get seconds in my query?

fyi plp_chg_timestamp datatype : datetime year to fraction(3)

regards
s.kalyan
 
I don't understand your question. Are you comparing two datetimes?

Regards,


Ed
 
Hi,

Use something similar to:

select current, current second to second
from systables where tabid=1;

select plp_chg_timestamp second to second
from tabx where ...

Regards,
Shriyan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top