Question : CONVERT datetime stamp to date

I have a field that I would like to only display the date as mm/dd/yyyy.  Current field shows mm/dd/yyyy hh:mm:ss AM.

I would most likely create a view that will create a field that will display the date only.  

Answer : CONVERT datetime stamp to date

use the convert function  ie:
select  convert( varchar(20), datetimefieldname, 101 )

Random Solutions  
 
programming4us programming4us