Search
 
SCRIPT & CODE EXAMPLE
 

SQL

insert current date sql

INSERT INTO my_table (last_updated) VALUES(NOW());
INSERT INTO my_table (last_updated) VALUES(sysdate);	-- Oracle
INSERT INTO my_table (last_updated) VALUES(getdate());	-- SQL Server
Comment

PREVIOUS NEXT
Code Example
Sql :: add column text sql after column 
Sql :: phpmyadmin change password 
Sql :: postgres get defined index in table 
Sql :: mysql update add to existing value 
Sql :: sql waitfor 
Sql :: store select query result in variable sql server 
Sql :: mysql clear screen 
Sql :: select last row in sql 
Sql :: sql compare strings 
Sql :: oracle select first row order by 
Sql :: Postgresql get diff between two dates in Months 
Sql :: postgres show databases 
Sql :: sql foreign key 
Sql :: import all databases mysql 
Sql :: date sql get the last week count 
Sql :: how to copy data in sql 
Sql :: mysql show schema 
Sql :: create table split string function in sql server 
Sql :: SQL NOT BETWEEN Operator 
Sql :: postgres list users 
Sql :: create or replace function 
Sql :: postgresql Create a new role with a username and password 
Sql :: brew start postgres 
Sql :: check database size in gb mysql 
Sql :: sqlite unique 
Sql :: json with root element in sql server 
Sql :: alter table myisam to innodb 
Sql :: sql order by multiple columns 
Sql :: postgresql filter on 
Sql :: sql server drop column 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =