: mysql@lists.mysql.com
主题: Re: 答复: PreparedStatement problem
- Original Message -
> From: "ZhangFangXue"
>
> well, the problem is that I used it like this:
> prep_stmt = con -> prepareStatement ("INSERT INTO City (CityNumber)
The statement in your original ma
ra.be]
发送时间: 2013年2月19日 16:12
收件人: ZhangFangXue
抄送: mysql@lists.mysql.com
主题: Re: PreparedStatement problem
- Original Message -
> From: "ZhangFangXue"
>
> Hi, when I use PreparedStatement in c++ connector, I find some
> unexcepted error,
Well, first of all, you
- Original Message -
> From: "ZhangFangXue"
>
> Hi, when I use PreparedStatement in c++ connector, I find some
> unexcepted error,
Well, first of all, you don't actually say what the error is that you're
seeing. This tends to be on the rather helpful side when trying to diagnose it.
>
- Original Message -
> From: "ZhangFangXue"
>
> well, the problem is that I used it like this:
> prep_stmt = con -> prepareStatement ("INSERT INTO City (CityNumber)
The statement in your original mail used CityName, which sounds like it should
be a string. Fieldname confusion?
--
Unh