Sql Getdate Function
Syntax Example Results Aside from querying for the current date and time, you could use this function in the configuration of a table so that the current date and time are used when null values are passed. You can also use this function in an INSERT INTO statement as well. There are many different ways to use this function.