home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!pagesat!spssig.spss.com!brent
- From: brent@spss.com (Brent Lambert)
- Newsgroups: comp.databases.sybase
- Subject: Re: how poratble is embedded SQL across ORACLE, SYBASE, INGRES?
- Message-ID: <C17uF9.DqJ@spss.com>
- Date: 21 Jan 93 18:09:08 GMT
- References: <1993Jan11.171828.20794@sni.ca>
- Sender: news@spss.com (Net News Admin)
- Organization: SPSS, Inc. - portable code group
- Lines: 36
-
- In article <1993Jan11.171828.20794@sni.ca>, chandra@xenon.nabu.sni.ca (Chandra Sekar) writes:
- > I am presently specifying some APIs for an application, designed to run
- > on multiple databases.
- >
- > Many of the APIs involve SQL DMA underneath. I think if I use embedded SQL
- > and at generate time, use the vendor specific pre-compilers (ex: ORACLE Pro*C)
- > it can be ported across DBMSs easily.
- >
- > But then there are these many 'middleware' products and many vendors like JYACC,
- > GUPTA, OMNIS and others offer 'database independent' layered products.
- >
- > Which way should I go?
-
- I recently went through this for a commercial application I was working on.
- It turned out to be quite a pain, and probably was not worth the cost of
- development. Unfortunately, someone simply decided that we should write our
- own API, and there was no investigation of existing API's. Given a chance
- to do it over again, I would recommend seriously investigating middleware.
-
- In your case, however, you need to evaluate your application requirements. Is
- it for internal or external use? Can you require your users to install and
- maintain the middleware? Can you afford the cost of using the middleware
- (royalties, etc.)? Can you afford to update and re-release your API every
- time Sybase or Oracle ships an update (weekly)? How much functionality,
- flexibility, and robustness do you need from your API (or the middleware)?
-
- One thing is for sure: If you try to write Embedded SQL that is portable
- among DBMS vendors, you'll end up in preprocessor Hell. And probably deserve
- to be there.
-
-
- --
- The above statements are not the opinions or policies of SPSS Inc.
- The above statements may not be the opinions of Brent Lambert.
- The first disclaimer is a policy of SPSS Inc.
- Subsequent disclaimers are probably the opinion of Brent Lambert.
-