MYSQL++ truncate

This is a discussion on MYSQL++ truncate within the C++ Programming forums, part of the General Programming Boards category; HI , I finaly got the mysql++ working..phew..was tough.. I had the hardest time finding the right code. If anyone ...

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    4

    MYSQL++ truncate

    HI ,

    I finaly got the mysql++ working..phew..was tough.. I had the hardest time finding the right code. If anyone else is interested I found it here: [URL=http://212.219.56.131/sites/ftp.mysql.com/mysql%2b%2b/?extract=true[/URL]

    It is probably in the mysql website but I could not find it..lol

    anyway.. Does anyone know if there is a function to truncate or empty a datbase table thru C or C++ using mysql++..
    thanks
    Last edited by LTLhawk; 08-30-2003 at 06:29 PM.

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>Does anyone know if there is a function to truncate or empty a datbase table thru C or C++ using mysql++..<<
    I don't know if there's a specific call to do it or not, but if all else fails, "delete * from tablename" is SQL to remove all records from a table.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    4
    well I'll give it a try..thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MySQL libraries
    By csonx_p in forum C++ Programming
    Replies: 6
    Last Post: 10-02-2008, 03:23 AM
  2. can`t get mysql functions working in c++
    By markg85 in forum C++ Programming
    Replies: 4
    Last Post: 05-29-2006, 03:09 PM
  3. About C++ and MySQL or oether free database
    By xxxrugby in forum C++ Programming
    Replies: 18
    Last Post: 12-30-2005, 06:28 AM
  4. Get data from mysql and use in a system.
    By smaakage in forum Tech Board
    Replies: 3
    Last Post: 10-04-2005, 01:03 PM
  5. Get data from mysql and use in a system.
    By smaakage in forum C++ Programming
    Replies: 5
    Last Post: 10-02-2005, 02:25 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21