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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

character date to td date

Status
Not open for further replies.

ppbbcp

Programmer
May 10, 2008
5
US
I have a 10 character date field that I need to cast to a teradata date.

The table field is begin_date char(10)
and has values of 2001-01-10, 2009-07-19
etc.

Suggestions?
 

Try this
sel cast(begin_date as date) from <table_name>

Cheers,
Pramod
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top