Rabbo Posted March 29, 2017 Report Posted March 29, 2017 How to convert "Sunday, January 1, 2017" as 01/01/2017" in Teradata ? Quote
kick_seenu Posted March 29, 2017 Report Posted March 29, 2017 https://www.w3schools.com/sql/func_convert.asp Quote
Hitman Posted March 29, 2017 Report Posted March 29, 2017 SELECT To_Char(SYSDATE,'DAY, MON DD, YYYY') FROM dual; SELECT To_Date('WEDNESDAY, MAR 29, 2017','DAY, MON DD, YYYY') FROM dual; Quote
BostonBullodu Posted March 29, 2017 Report Posted March 29, 2017 5 minutes ago, Rabbo said: How to convert "Sunday, January 1, 2017" as 01/01/2017" ? If it is sql server http://www.sql-server-helper.com/tips/date-formats.aspx Quote
Rabbo Posted March 29, 2017 Author Report Posted March 29, 2017 2 minutes ago, BostonBullodu said: If it is sql server http://www.sql-server-helper.com/tips/date-formats.aspx edit chesa bro i need in teradata Quote
Rabbo Posted March 29, 2017 Author Report Posted March 29, 2017 16 minutes ago, Hitman said: SELECT To_Char(SYSDATE,'DAY, MON DD, YYYY') FROM dual; SELECT To_Date('WEDNESDAY, MAR 29, 2017','DAY, MON DD, YYYY') FROM dual; this works Thanks. Quote
KrishnaDevaRaya Posted March 29, 2017 Report Posted March 29, 2017 1 hour ago, Myth1 said: Google maadi ee gif chusinappudalla navvu agatam ledhu. super gif Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.