RE: objc and RDBMS
RE: objc and RDBMS
- Subject: RE: objc and RDBMS
- From: Theodore Petrosky <email@hidden>
- Date: Fri, 5 Aug 2005 12:13:31 -0700 (PDT)
Josh,
I can only relate this to postgresql but there must be
similar connection types with the other DBs out there.
1. link to libpq.a in a cocoa app. this would allow
you to create queries and run them against the db.
Once you have your query answered in your app you can
do everything that cocoa can do with the result set.
2. use ODBC to connect the backend to excel.
3. create an app (there are example out there) that
creates a simple pipe and pass your query to psql.
psql is the postgresql CLI. it formats the output to
HTML. so you could effectively pass it a query and get
back HTML.
I am sure there are other ways... I just use the
libpq.a method and process the results.
JMHO
Ted
> Message: 19
> Date: Fri, 5 Aug 2005 14:19:49 -0400
> From: Josh Holt <email@hidden>
> Subject: objc and RDBMS
> To: email@hidden
> Message-ID:
<email@hidden>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Is there now way to write an objective-c application
that allows
> connectivity to RDBMS such as oracle,mssql,mysql.
> I am trying to write an application that queries
oracle or mssql based
> on the option chosen and then use the results to
retrieve files from a
> server,
> Then generate a simple html "file" that can then be
burned to a cd.
>
> The html "file" will show the retrieved files,
> both the generated file and the retrieval of files
from the server are
> not possible without access to the database.
> Knowing where these files are comes from the
database query.
>
> I would rather not write this in java unless this is
not feasible in
> objc
>
> Thanks,
> Josh Holt
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden