generic insert into table

Поиск
Список
Период
Сортировка
please CC me, I am on digest
---------------------------------
I have the following code from an application that is 'mysql_centric'. I
want to make it generic across all databases, if it's possible,
especially postgres :-)

mysql version:
    INSERT INTO calendar_setting SET setting='colorEvent',value='#C2DCD5';

There is no data in this table at this time.
Isn't this the same as:
    INSERT INTO calendar_setting( 'colorEvent' ) VALUES ( '#C2DCD5');

would this work on all db's?

В списке pgsql-general по дате отправления: