if (eregi('mssql', $this->_config['DBtype'])){ $sql = preg_replace('/"(.+?)"/', '[$1]', $sql);}$conn->Execute($sql);
SET IDENTITY_INSERT {tableName} ON// Inserts and suchSET IDENTITY_INSERT {tableName} OFF
INSERT INTO elx_modules VALUES (1, 'Polls', NULL, 1, 'right', 0, '1979-12-19 00:00:00', 1, 'mod_poll', 0, 29, 1, NULL, 0, 0, NULL)// turns intoINSERT INTO elx_modules ([id],[title],[content],[ordering],[position],[checked_out],[checked_out_time],[published],[module],[numnews],[access],[showtitle],[params],[iscore],[client_id],[language]) VALUES (1, 'Polls', NULL, 1, 'right', 0, '1979-12-19 00:00:00', 1, 'mod_poll', 0, 29, 1, NULL, 0, 0, NULL)