SQL_SimpleQueryFmt
- Синтаксис
-
stock SQL_SimpleQueryFmt(Handle:db, error[]="", maxlength=0, &rows=0, const fmt[], any:...) { static query_buf[2048]; vformat(query_buf, 2047, fmt, 6); new Handle:hQuery = SQL_PrepareQuery(db, "%s", query_buf); 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