Is there any other way to get datetime field from oracle database in 24hour format???like -> "select getxsddate(col_name) from tab_name" will get you datetime format as "2012-04-04T12:31:00"...I wanted to know if there are any other ways as i`m not satisfied with this format.
相关问题
- System.Data.OracleClient not working with 64 bit O
- Using a subquery within PLSQL conditional logic; e
- Oracle: pivot (coalesce) some counts onto a single
- Oracle TNS Permission Denied *
- Oracle: How to detect client process termination l
相关文章
- How to store an array of bytes in Oracle?
- Invoking a function call in a string in an Oracle
- Change Oracle SQL Query Text before submission [cl
- ORACLE Constraint to allow Null Value, IF
- Does Oracle's “date'[yyyy-mm-dd]'” lit
- SQL - Multiple Values comma separated when using G
- Getting Error Message For oci_execute() Error (PHP
- What are the ways to insert & retrieve BLOB data f
Another very simple way is to set, in the database nls parameters, the parameter date_format='DD-MM-YYYY HH24:MI:SS'
You can read more about
to_char
function here