Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest May 26th, 2018 59 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. CREATE TRIGGER set_created_date
  2. BEFORE INSERT ON product
  3. FOR EACH ROW BEGIN
  4. SET NEW.created_date = now();
  5.    
  6. CREATE TABLE mytable
  7. (
  8. created_date datetime NOT NULL DEFAULT NOW()
  9. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top