2011-03-08 03:23:40 UTC
CREATE TABLE COMPANY
(
COMPANYID NUMBER NOT NULL PRIMARY KEY,
COMPANY_NAME VARCHAR(60) UNIQUE,
COMPANY_SIZE CHAR(11)
);
and im trying to write another sql script to populate it. so far i have been using varients of:
INSERT INTO COMPANY (COMPANYID, COMPANY_NAME, COMPANY_SIZE)
SELECT 1,TEXT,1
however i cant seem to update the table. Eventually i want to be able to add a few lines of random data using an auto number for the companyid
i am using oracle sql developer
Thanks!!