6
I have a query that one of your filters is a date, it is possible to filter in Oracle with something like below?
SELECT * FROM tabela WHERE campoData = '2014-02-10 15:56:00.000'
Or we always have to convert to String as below?
SELECT * FROM tabela WHERE campoData = TO_DATE('10/02/2014 15:56:00','DD/MM/YYYY HH24:mi:ss')
I’m using Oracle 10g.
Philippe, you are referring to queries executed within a software client like SQL Developer or Toad? Or are you thinking about some programming language?
– utluiz
Client even, in Java I use java.sql.Timestamp and it turns to me.
– Philippe Gioseffi