SQL_SimpleQuery
- Синтаксис
-
stock SQL_SimpleQuery(Handle:db, const query[], error[]="", maxlength=0, &rows=0) { new Handle:hQuery = SQL_PrepareQuery(db, "%s", query); if (!SQL_Execute(hQuery)) { SQL_QueryError(hQuery, error, maxlength); SQL_FreeHandle(hQuery); return 0; } rows = SQL_NumResults(hQuery); SQL_FreeHandle(hQuery); return 1; }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- Use this for executing a query where you don't care about the result. Returns 0 on failure, 1 on success