Unix Technical Forum

Block insert into mysql(5.0)

This is a discussion on Block insert into mysql(5.0) within the MySQL forums, part of the Database Server Software category; --> Is there a way to block insert into mysql(5.0) using c api of mysql db.. i.e. say there is ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 11:29 AM
Waruna
 
Posts: n/a
Default Block insert into mysql(5.0)

Is there a way to block insert into mysql(5.0) using c api of mysql
db..

i.e.


say there is a table with 2 columns, one contains char other int
then i want to insert 500 records at once,, as i explained below.


here i declare 2 arrays of char and int to store the values i want,


char *pzCol1[500*50];
int *piCol2[500];


then i fil abov 2 arrays wit values and then the PROBLEM...
Is there a way to above 500 records using below insert query usin' c
api of mysql db..


INSERT INTO table VALUES (?, ?)


PLS HLP me.........

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:08 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com