Deleting a whole column in SQLite
#1

Title says it all, how could i delete a column from a TABLE?

Something i wrote which wont work!
pawn Code:
stock DeleteGang(gangid)
{
    new Query[256], DBResult:Result;
    format(Query, sizeof(Query), "DELETE FROM `GANGS` WHERE `GANGID` = '%d'", gangid);
    Result = db_query(Database, Query);
    return db_free_result(Result);
}
Reply


Messages In This Thread
Deleting a whole column in SQLite - by Lorenc_ - 30.05.2011, 08:11
Re: Deleting a whole column in SQLite - by woot - 30.05.2011, 08:49
Re: Deleting a whole column in SQLite - by Lorenc_ - 30.05.2011, 09:03
Re: Deleting a whole column in SQLite - by jameskmonger - 30.05.2011, 09:08
Re: Deleting a whole column in SQLite - by Lorenc_ - 30.05.2011, 09:14
Re: Deleting a whole column in SQLite - by woot - 30.05.2011, 09:17
Re: Deleting a whole column in SQLite - by Lorenc_ - 30.05.2011, 09:22
Re: Deleting a whole column in SQLite - by woot - 30.05.2011, 09:28
Re: Deleting a whole column in SQLite - by Lorenc_ - 30.05.2011, 09:46
Re: Deleting a whole column in SQLite - by jameskmonger - 30.05.2011, 09:54

Forum Jump:


Users browsing this thread: 1 Guest(s)