I'm getting an error when syncdb tries to execute the following SQL
against Oracle 10g XE:

CREATE OR REPLACE TRIGGER "ADMIN_CHANGELIST_EVENT_TR"
BEFORE INSERT ON "ADMIN_CHANGELIST_EVENT"
FOR EACH ROW
WHEN (new."ID" IS NULL)
    BEGIN
        SELECT "ADMIN_CHANGELIST_EVENT_SQ".nextval
        INTO :new."ID" FROM dual;
    END;

The error is

django.db.utils.DatabaseError: ORA-06552: PL/SQL: Compilation unit
analysis terminated
ORA-06553: PLS-320: the declaration of the type of this expression is
incomplete or malformed

Can anyone suggest what the problem is?

Regards,

Vinay Sajip

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to