ReadVitamin

Blogging on Teradata SQL and More

4 Comments

mygif
suresh Said in Wednesday, January 28th, 2009 @5:42 pm  

Material that you are providing is very easy to learn. But it is much better than this , if you ll give the full material of this at ONE LINK.

Thank you
Suresh.

mygif
admin Said in Friday, January 30th, 2009 @5:38 pm  

That is right Suresh. This is the reason I have given all the links in one page, please visit this

http://readvitamin.com/teradata/

Hope this helps.

mygif
Vaideesh Said in Tuesday, June 2nd, 2009 @11:53 am  

Hi. Can anyone tell me how to extract time from timestamp?
For Example
timestamp=’2008-03-28 14:11:04′
i want time ‘14:11:04′ from timestamp through query.
Thanks in advance.

mygif
admin Said in Tuesday, June 2nd, 2009 @7:20 pm  

Hi Vaideesh,

If you need only time, you can probably try the following;

SELECT time;

To answer your question you should do something like this.

SELECT CAST(VaideeshTime as time(0)) from timestamp;

VaideeshTime
——–
14:11:04

Hope that helps.

Leave Your Comments Here

Popular Articles