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

Date Format

Status
Not open for further replies.

Learnerprog

Programmer
Apr 21, 2004
52
US
Hello All,
How to format a date in CYYMMDD in SQL 2000? i.e '09/30/2004'

Thanks, Joe
 
Code:
select convert(char(10),getdate(),112)

------------------------------------------------------------------------------------------------------------------------
If you don't have a sense of humor, you probably don't have any sense at all.
- Anonymous
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top