Strings with TO_DATE command as value on the database
问题 I have a problem and I can't solve it yet. On my database I have the string: TO_DATE(' 2015-03-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'). So when I'm building my query it is like the following: Select my_field FROM my_table. the result is: TO_DATE(' 2015-03-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN') Get it? How to I extract the value of this field as a command statement on a select query? 回答1: On the sqlplus command line, if your system supports