|
RE: How to delete a row in mysql++: msg#00030db.mysql.c++
Query query = m_conn->query(); query << "DELETE FROM players WHERE player_id = " << player->m_handle; query.execute(); -----Original Message----- From: gary clark [mailto:burslem2001@xxxxxxxxx] Sent: Wednesday, November 15, 2006 6:34 PM To: plusplus@xxxxxxxxxxxxxxx Subject: How to delete a row in mysql++ Hello, I want to perform a simple query to delete a row based on a column value in mysql++. Could somebody please point me to a simple example of removing a row entry. I can do this simply in mysql: mysql>DELETE FROM store WHERE item="Hot Dogs"; Just dont know how to push that into a query. Much appreciated, Garyc ________________________________________________________________________ ____________ Sponsored Link Don't quit your job - take classes online www.Classesusa.com -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=jwallace@xxxxxxxxxx -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | How to delete a row in mysql++: 00030, gary clark |
|---|---|
| Next by Date: | Compile Error/Code Issue: 00030, Freyja |
| Previous by Thread: | How to delete a row in mysql++i: 00030, gary clark |
| Next by Thread: | Storing BLOB using C constructs and no STL(string, streams etc): 00030, Ankur G35 Saxena |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |