Skip to content
Advertisement

How to get Date only from the datetime value?

I have an netezza SQL database field that looks like the examples below:

Is there a way to select the first set of date to be date only like below:

Advertisement

Answer

Try to use built-in function DATE() in the following:

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