Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle set date format

ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MM-YYYY HH24:MI:SS';
SELECT sysdate FROM dual;

SELECT to_char(sysdate,'HH24:MI:SS') FROM dual;
Comment

oracle default date format

SELECT
  TO_DATE( '24-JUL-21', 'DD-MON-RR' )
FROM
  dual;
Comment

PREVIOUS NEXT
Code Example
Sql :: delete from IN subquery 
Sql :: postgres describe table 
Sql :: how to declare a variable in sql 
Sql :: how to tun mysql on ubunto 
Sql :: import mysql database command line linux 
Sql :: delete from inner join sql 
Sql :: pg_pretty_size 
Sql :: sql restore backup query 
Sql :: default value false mysql 
Sql :: uninstall mysql ubuntu 18.04 stackoverflow 
Sql :: check for directory in bash 
Sql :: truncate your answer to decimal places mysql 
Sql :: insert query in sql 
Sql :: sql count more than 1 
Sql :: Add new column T-SQL 
Sql :: how to get specific salary in sql 
Sql :: sql join 
Sql :: sql select all tables from database change url 
Sql :: oracle privileges users 
Sql :: PostgreSQL: To_Number function 
Sql :: how to start my sql server on mac 
Sql :: mysql alter table add column 
Sql :: what is relational database 
Sql :: power query datetime to date 
Sql :: sql server remove 0 from left 
Sql :: mysql delete older duplicates 
Sql :: DELETE DUPLICATE VALUES FROM A TABLE IN SQL SERVER 
Sql :: sql add calculated column 
Sql :: unique key in sql 
Sql :: vi set sql syntax 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =