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!

date format in store procedure

Status
Not open for further replies.

jliang

MIS
Apr 26, 2004
30
US
Hi, I know the default date format in store procedure is 'yy/mm/dd', how can I change it to the format 'yyyy-mm-dd' in teradata store procedure?

Thanks very much
Jing
 
The date format defaults to the format used by the session which created the SP.
So you just have to specify "SET SESSION DATEFORM = ANSIDATE" before the "CREATE PROCEDURE ..."

Dieter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top