开发者

How do call an SQL stored procedure from Objective-C?

开发者 https://www.devze.com 2023-03-21 16:23 出处:网络
I have an iPad app and I\'m 开发者_运维技巧trying to call a stored procedure in a remote SQL server. Is there a library or something in the framework I can use to call a SQL stored procedure?You use t

I have an iPad app and I'm 开发者_运维技巧trying to call a stored procedure in a remote SQL server. Is there a library or something in the framework I can use to call a SQL stored procedure?


You use the C API provided by the database vendor.


You could always create a middle man to help, its simple to process a HTTP request from objective c, so what I usually do is create a PHP page on the remote server that calls a procedure (whether its login/send mail etc) then returns any information which I parse and read in the app.


Have you tried Karl Kraft’s Objective-C wrapper for MySQL?

0

精彩评论

暂无评论...
验证码 换一张
取 消