Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
geossl
Yak Posting Veteran
85 Posts |
Posted - 2004-10-05 : 05:27:26
|
| Dear All, Is there a function to format a datetime type using YYYY/MM/DD ? Thanks. |
|
|
RickD
Slow But Sure Yak Herding Master
3608 Posts |
Posted - 2004-10-05 : 05:43:45
|
| select convert(varchar(10),getdate(),120) |
 |
|
|
sabirpatel
Starting Member
22 Posts |
Posted - 2004-10-05 : 06:17:21
|
| For detailed explanation read the TSQL help.Using CAST:CAST ( expression AS data_type ) Using CONVERT:CONVERT ( data_type [ ( length ) ] , expression [ , style ] )Sabir Patelemail: sabirpatel@gmail.com |
 |
|
|
jsmith8858
Dr. Cross Join
7423 Posts |
Posted - 2004-10-05 : 08:15:04
|
| front end -- presentation layer- Jeff |
 |
|
|
|
|
|