SQL Basic
SQL Advanced
SQL Functions
| SQL now() |
The NOW() FunctionThe NOW() function returns the current system date and time. SQL NOW() Syntax
SQL NOW() ExampleWe have the following "Products" table:
Now we want to display the products and prices per today's date. We use the following SELECT statement:
The result-set will look like this:
|
SQL now()