Click here to Skip to main content
15,919,500 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to remove time when we using case in database Sql server
Posted
Comments
John C Rayan 29-Dec-15 6:45am    
Can you explain a bit more clearly? Do you want to remove time from datetime column? whats your column type?

1 solution

Try:
SQL
CAST(GETDATE() AS DATE)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900