I create a table likes this:
CREATE TABLE test
(
ID AUTO_INCREMENT primary key,
Name VARCHAR(10) NULL DEFAULT '',
City VARCHAR(10) NULL DEFAULT ''
);
I know "insert into test(Name, City) values('Nan', 'Nanjing')" can insert record successfully.
But when using MySQL, I can use this statement to insert a record: "insert into db.test values(NULL, "Nan", "Nanjing")". While this statement can't work in Vertica.
So is it possible to construct a insert statement without adding column name like MySQL? Thanks very much in advance!
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.