[15:27:35] [WARNING] cache_affected_rows - no active cache[15:27:35] [DEBUG] cache_insert_id - connection handle: 1[15:27:35] [WARNING] cache_insert_id - no active cache
[15:37:33] [DEBUG] cache_get_data - connection handle: 1[15:37:33] [DEBUG] cache_affected_rows - connection handle: 1[15:37:33] [DEBUG] cache_insert_id - connection handle: 1
INSERT INTO tabla (adat1,adat2) VALUES (16,18)
INSERT INTO tabla (adat1,adat2) VALUES, (16,18),(20,22)
format(query, sizeof(query), \"INSERT INTO tabla (`adat1`,`adat2`) VALUES \");new adat1 = 16;new adat2 = 18;new insertcount = 5;for(new i; i < insertcount; i++){ format(query, sizeof(query), \"%s(%d,%d),\",largequery,adat1,adat2);}query[strlen(query)-1] = EOS;
{ //egyéb kód format(sz_Sql_Input,sizeof(sz_Sql_Input),\"INSERT INTO players (name,pass,regip) VALUES (\'%s\',\'%s\',\'%s\')\",GetName(playerid),sz_EscapePass,sz_ip); mysql_tquery(SQL,\"sz_Sql_Input\", \"InsertQueryCallback\", \"\");}forward InsertQueryCallback();public InsertQueryCallback() { printf(\"%d\", cache_affected_rows(SQL)); return 1;}
INSERT INTO tabla (mezo1, mezo2, ...) VALUES(\'adat11\', \'adat21\', ...),(\'adat21\', \'adat22\', ...),(\'adag31\', \'adat32\', ...);
INSERT INTO players (name,pass,regip) VALUES (\'Béla\',\'123\',\'127.0.0.1\'),(\'Aladár\',\'1234\',\'127.0.0.2\'),(\'László\',\'12345\',\'127.0.0.3\');