SQLite: Trouble deleting row.
#3

I wrapped the tablename with those quotes, I do have a table named Doors, there is a collumn called ID, and there is a row where ID is equal to 2. Still no result.

This is also being done through a command.
pawn Код:
CMD:destroydoor(playerid, params[])
{
    // ...
    new id = strval(params);
    DestroyDoor(id);
    return 1;
}
public DestroyDoor(id)
{
    new
        string[128]
    ;
    format(string, sizeof(string), "DELETE FROM `Doors` WHERE ID = %d", id);
    // ...
    db_query(Database, string);
    return 1;
}
Reply


Messages In This Thread
SQLite: Trouble deleting row. - by ReneG - 19.06.2012, 04:02
Re: SQLite: Trouble deleting row. - by JaTochNietDan - 19.06.2012, 04:38
Re: SQLite: Trouble deleting row. - by ReneG - 19.06.2012, 04:48
Re: SQLite: Trouble deleting row. - by MP2 - 19.06.2012, 04:54
Re: SQLite: Trouble deleting row. - by PrawkC - 19.06.2012, 05:10
Re: SQLite: Trouble deleting row. - by ReneG - 19.06.2012, 05:25
Re: SQLite: Trouble deleting row. - by ReneG - 22.06.2012, 01:25
Re: SQLite: Trouble deleting row. - by JaTochNietDan - 22.06.2012, 02:46
Re: SQLite: Trouble deleting row. - by ReneG - 22.06.2012, 04:21

Forum Jump:


Users browsing this thread: 1 Guest(s)