473,394 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Adding records via libmySQL.dll

What functions can I call to add records using the libmySQL.dll.
Thanks.
Jul 20 '05 #1
2 1906
Bruce Wolfe wrote:
What functions can I call to add records using the libmySQL.dll.


MySQL C api that is?

I think mysql_query() or mysql_real_query() would do the trick.

http://dev.mysql.com/doc/mysql/en/C.html

If you are using the C++ layer, you can do something like:

query << "insert into tablename values('x','y','z')";
query.execute();
Jul 20 '05 #2
Bruce Wolfe wrote:
What functions can I call to add records using the libmySQL.dll.


MySQL C api that is?

I think mysql_query() or mysql_real_query() would do the trick.

http://dev.mysql.com/doc/mysql/en/C.html

If you are using the C++ layer, you can do something like:

query << "insert into tablename values('x','y','z')";
query.execute();
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jamie Fryatt | last post by:
Hi everyone, here's what id like to do. I have a table with 2 fields, name and value I need to be able to add multiple records quickly, for example I need to add name value abc 1...
0
by: Morten Gulbrandsen | last post by:
Hello programmers this is my path, C:\mysql\bin>path PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\mysql\bin After installing 4.1.0-alpha-max-debug I try to start...
0
by: Tony Baker | last post by:
Hi, is there anything wrong with using and older version of libMySql.dll to build version 1.7.1 of MySql++, which is then used by my C++ programs (building with Visual Studio v6) to access MySql...
0
by: Tony Baker | last post by:
Hi, is there anything wrong with using and older version of libMySql.dll to build version 1.7.1 of MySql++, which is then used by my C++ programs (building with Visual Studio v6) to access MySql...
0
by: Mike Ruskai | last post by:
I've been trying to implement database axis using the C api for a many-threaded application (several, actually), and keep running into a problem on server disconnect. One of the main reasons is to...
6
by: Rudy | last post by:
Hi all, I know this is easy, just can't seem to get it. I have a windows form, and a text box, with a value already in it. I need to add that value to a table. It's just one value, so the entire...
1
by: David Moore | last post by:
Hi All, I'm moving some php/mysql development work from one PC to another. I wanted to use the latest versions of php, MySQL and Apache on the new machine, so I've downloaded the appropriate stuff...
9
by: Kadett | last post by:
Hi all, I have following problem: I'm creating a ListView (Details) control at run-time and filling it with some records (let's say 10 000). This operation seems to be quite fast, but when I call...
1
by: vbDavidC | last post by:
I am adding a new record to a table via a dataset/adapter. I have got the following to work for me but I am wondering if there is a better way to do this. I am having to have something in my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.