In MySQL it is possible to insert NULL into a identifying column (AUTO_INCREMENT) in order to get the correct sequence number.
Does this also work on PostgreSQL, M$SQL, Oracle,... ?
e.g.
CREATE TABLE testtbl (
id INT UNSIGNED NOT NULL AUTO_INCREMENT,
url VARCHAR(255) NOT NULL DEFAULT '',
PRIMARY KEY (id)
}
Does this work on any DBS (SQL standard?) ?:
INSERT INTO testtbl VALUES (NULL, 'www.testing.com');
Or do I need to specify the column list?:
INSERT INTO testtbl (url) VALUES ('www.testing.com');
thx