ANSI SQL
From: Daniel CW2 CTARNG Maldonado (daniel.maldonado_at_CT.NGB.ARMY.MIL)
Date: 01/18/05
- Next message: Ron Reidy: "RE: ANSI SQL"
- Previous message: Michael A Chase tech: "Re: how to connect postgresql database with perl"
- Next in thread: Ron Reidy: "RE: ANSI SQL"
- Maybe reply: Ron Reidy: "RE: ANSI SQL"
- Maybe reply: Michael Coll-Barth: "RE: ANSI SQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: dbi-users@perl.org Date: Tue, 18 Jan 2005 15:37:40 -0500
OK, I am facing a bit of a dilema here.
I am trying to help a group of developers convert a blog system to Oracle.
This system was originally written for Mysql but would be great if we could
get it working with other DBMS.
I am not sure how to make Oracle understand aliases such as:
"select field1 as field1_alias from table1"
as far as I know this would have to be written:
"select field1 field1_alias from table1"
to work under Oracle.
I was thinking of writing a pre_parse() function that would parse the sql
syntax before handing it over to DBI but that seems pretty extreme.
Is there an easier way???
Daniel Maldonado
Programmer Analyst
- Next message: Ron Reidy: "RE: ANSI SQL"
- Previous message: Michael A Chase tech: "Re: how to connect postgresql database with perl"
- Next in thread: Ron Reidy: "RE: ANSI SQL"
- Maybe reply: Ron Reidy: "RE: ANSI SQL"
- Maybe reply: Michael Coll-Barth: "RE: ANSI SQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|