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

to_char equivalent in SQL

Status
Not open for further replies.

Pekka

Technical User
Mar 19, 2002
107
FI
Hi,
without any possibility to check online helps, does anybody know the equivalent function in SQL server for and sql function: to_char?

Pekka

"every dog will have his day"
 
convert

convert(varchar(10), @int)
convert(varchar(8), @date, 112)


======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top