[unixODBC-support] ODBC mysql write access

Nick Gorham nick.gorham at easysoft.com
Mon Nov 2 13:35:20 GMT 2009


Shakthi Kannan wrote:
> Hi,
>
> I am using unixodbc (-devel) on Fedora 11. I have been able to connect
> to a mysql database following the documentation here:
>
> http://www.easysoft.com/developer/languages/c/odbc_tutorial.html
>
> Is unixodbc for read-only access, or can we also use it for inserting
> data into a database? Appreciate any inputs,
>
> Thanks!
>
> SK
>
>   
Hi,

No its for update as well, but the focus of that tutorial was fetching 
data.

Simple way to insert is to execute a insert query, or you can get more 
complex with bound parameters.

-- 
Nick Gorham
Easysoft Limited


More information about the unixODBC-support mailing list