Skip to content
Advertisement

how to get current/Todays date data in sql server

how to write query to get today’s date data in SQL server ?

Advertisement

Answer

The correct answer will depend of the exact type of your datecolumn. Assuming it is of type Date :

If it is DateTime:

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement