Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to know if oracle style object oriented database code can be written in mysql, postgresql or any OSS database softwares. I don't want to install the massive oracle db on my ubuntu to learn minimum database programming

EDIT1: After installing orafce when I did the following

CREATE TYPE addr_obj_typ AS OBJECT (
    street          VARCHAR2(30),
    city            VARCHAR2(20),
    state           CHAR(2),
    zip             NUMBER(5));

And I got this error:

ERROR:  syntax error at or near "object"
LINE 1: create type addr_obj_typ as object
share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Postgres is probably closest to Oracle, especially if you install the Oracle support functions for PostgreSQL Install postgresql-8.4-orafce

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.