SQL date and time between different platform sql - Net-Raft.com

Welcome aboard! We are happy you are here and wish you good net-raft!




Just a Web Code Solution
join us

date and time between different platform sql ?


 165

SQL


0

// defining date and time

mysql: DATETIME
microsoft sql: DATETIME
oracle: DATE

// inseting current date and time

mysql: NOW() SYSDATE() CURRENT_TIMESTAMP
microsoft sql: GETDATE()
oracle: SYSDATE

// inserting specific date and time

mysql: '25.5.2016 13:30:51'
microsoft sql: '25.5.2016 13:30:51'
oracle: TO_DATE('25.5.2016 13:30:51', 'dd.mm.YYYY, HH24:MI:SS')


By        
The power of the user (%)
80%



The most helpful SQL solutions

how to execute select into using sql ?how to execute select into using sql ?SQL

Click to see more ...

  726     53

convert string to date sqlconvert string to date sqlSQL

Click to see more ...

  641     42

How to get the last record from table using sql ?How to get the last record from table using sql ?SQL

Click to see more ...

  558     33

create table sqlcreate table sqlSQL

Click to see more ...

  333     23

How use like using sql ?How use like using sql ?SQL

Click to see more ...

  412     22

How to get the last 10 records using mysql ?How to get the last 10 records using mysql ?SQL

Click to see more ...

  309     21

rows to columns sqlrows to columns sqlSQL

Click to see more ...

  264     17

insert new column into table sqlinsert new column into table sqlSQL

Click to see more ...

  265     16

How to convert the values to lowercase using sql ?How to convert the values to lowercase using sql ?SQL

Click to see more ...

  284     13

How to change a negative number to positive using sql ?How to change a negative number to positive using sql ?SQL

Click to see more ...

  220     11

Welcome aboard!
We are happy you are here and
wish you good net-raft!