SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 HOW TO VALIDTE TIMESTAMP IN ETL STUDIO
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jaganreddy
Starting Member

India
10 Posts

Posted - 08/31/2013 :  05:08:41  Show Profile  Reply with Quote
How to validate timestamp,
i have tried so many time ,but iam not getting correct result, hwo to validate source data has timestamp or not ? i would like result s if the data is timestamp that should be 1, if the data is not timestamp that should be 0 ,iam using code like this
................................................................
CASE
WHEN TO_CHAR(OE_TECH_VLD_FROM_DTTM,'ddmonyyyy:hh:mi:ss.sssssss') then 1
ELSE 0
END

..................................................................

Thanks in Advance

Jagan

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 08/31/2013 :  05:11:09  Show Profile  Reply with Quote
again this is a Oracle question. Please post this in relevant forums like www.dbforums.com
This is a MS SQL Server forum as Peso already pointed out

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=187894

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000