daily pastebin goal
7%
SHARE
TWEET

Untitled

a guest Jan 17th, 2018 46 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. sql := 'CREATE TABLE public.t_'||nombretabla||'('||nombre_id||' numeric NOT NULL DEFAULT NEXTVAL ("public"."sec_' || nombretabla||'"), CONSTRAINT pk_' ||nombretabla||' PRIMARY KEY ('||nombre_id||' ) )
  2.           WITH ( OIDS=FALSE); ALTER TABLE public.t_'||nombretabla||' OWNER TO postgres;';
  3.  
  4.           execute sql;
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