View Single Post

   
  #1 (permalink)  
Old 02-28-2008, 05:12 PM
Leader
 
Posts: n/a
Default what is equivalent of format(date) function of MS Access in MS Sql Server 2000

Hi All,
I am facing a problem with a sql what i used in MS Access but its not
returning the same result in MS Sql Server 2000. Here i am giving the
sql:

SELECT TOP 3 format( MY_DATE, "dddd mm, yyyy" ) FROM MY_TAB WHERE
MY_ID=1

The above sql in ACCESS return me the date in below format in one
column:

Friday 09, 2003

But in Sql server 2000 i am not getting the same format eventhough i
am using convert function, date part function etc.

Please if you find the solution would be helpful for me..

Thanks
Hoque
Reply With Quote