Board index » delphi » Format('yyyy/mm', date) in SQL Server

Format('yyyy/mm', date) in SQL Server

Hello Folks,

Some body can tell me how I can do something like this in SQL Server :

From MsAccess :    Format('yyyy/mm', date)

Thanks in advance,

Francisco Ruiz

 

Re:Format('yyyy/mm', date) in SQL Server


Use the "Convert" function.
"Francisco J. Ruiz N?ez" <fran...@cicar.com> wrote in message
news:3974861f@dnews...
Quote
> Hello Folks,

> Some body can tell me how I can do something like this in SQL Server :

> From MsAccess :    Format('yyyy/mm', date)

> Thanks in advance,

> Francisco Ruiz

Other Threads