Re: prepared sql statements
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Thu, 21 Dec 2006 10:08:03 -0500
Sorry, I know nothing about that API. It doesn't really have much to do
with ADO does it?
kaushal wrote:
sir actually the thing is that i am using "odbc api" which is a part
of vc++ so i have asked it to vc group . i know the syntaz of insert
into statement but when i m using the feature odbc api that is
"prepared sql statements" the problem happens. which already i had
described
so please if u have any solution then tell me.
Bob Barrows [MVP] wrote:
kaushal wrote:
i had made the simple application to insert a single record to
visula foxpro table(assume that table is having only one field)
using prepared statement but now when i have to insert more than
one data each time i have to bind that row and each time i have to
use SQLExecute function, so is it possible to insert multiple data
by just using single time execution of SQLExecute() function if it
is possible then plz help me.
I don't know. It depends on if Foxpro supports batched sql
statements. You might try asking in a foxpro group.
In other databases, you can use a union query to insert multiple
records:
insert into table (col1)
select val1
union all select val2
union all select val3
Again, I don't know if foxpro supports this.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so
I don't check it very often. If you must reply off-line, then remove
the "NO SPAM"
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- References:
- prepared sql statements
- From: kaushal
- Re: prepared sql statements
- From: Bob Barrows [MVP]
- Re: prepared sql statements
- From: kaushal
- prepared sql statements
- Prev by Date: Re: prepared sql statements
- Next by Date: Connection Leak.
- Previous by thread: Re: prepared sql statements
- Next by thread: Re: SQLHelper output parameters problem
- Index(es):
Relevant Pages
|
|