Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/01/2009, 09:28
robinn
 
Fecha de Ingreso: enero-2009
Mensajes: 7
Antigüedad: 15 años, 3 meses
Puntos: 0
Respuesta: Error: ORA_00911: caracter no valido

hay les envio el log de powerdesigner

alter table ADQUIERE_ARTICULO
drop constraint FK_ADQUIERE_REFERENCE_USUARIO;

alter table ADQUIERE_ARTICULO
drop constraint FK_ADQUIERE_REFERENCE_ARTICULO;

alter table ADQUIERE_CANCION
drop constraint FK_ADQUIERE_REFERENCE_CANCION_;

alter table ADQUIERE_CANCION
drop constraint FK_ADQUIERE_REFERENCE_USUARIO;

alter table ADQUIERE_VIDEO
drop constraint FK_ADQUIERE_REFERENCE_USUARIO;

alter table ADQUIERE_VIDEO
drop constraint FK_ADQUIERE_REFERENCE_VIDEO;

alter table CANCION_MP3
drop constraint FK_CANCION__REFERENCE_ARTISTA;

alter table CARATULA
drop constraint FK_CARATULA_REFERENCE_ARTISTA;

alter table CONSULTA_CANCION
drop constraint FK_CONSULTA_REFERENCE_CANCION_;

alter table CONSULTA_CANCION
drop constraint FK_CONSULTA_REFERENCE_USUARIO;

alter table DESCARGA_WALLPAPER
drop constraint FK_DESCARGA_REFERENCE_WALLPAPE;

alter table DESCARGA_WALLPAPER
drop constraint FK_DESCARGA_REFERENCE_USUARIO_;

alter table VIDEO
drop constraint FK_VIDEO_REFERENCE_ARTISTA;

alter table VISUALIZA_CARATULA
drop constraint FK_VISUALIZ_REFERENCE_CARATULA;

alter table VISUALIZA_CARATULA
drop constraint FK_VISUALIZ_REFERENCE_USUARIO;

alter table WALLPAPERS
drop constraint FK_WALLPAPE_REFERENCE_ARTISTA;

drop table ADQUIERE_ARTICULO cascade constraints;

drop table ADQUIERE_CANCION cascade constraints;

drop table ADQUIERE_VIDEO cascade constraints;

drop table ARTICULO cascade constraints;

drop table ARTISTA cascade constraints;

drop table ARTISTA_PREFERIDO cascade constraints;

drop table CANCION_MP3 cascade constraints;

drop table CARATULA cascade constraints;

drop table CONSULTA_CANCION cascade constraints;

drop table DESCARGA_WALLPAPER cascade constraints;

drop table DETALLE cascade constraints;

drop table GENERO_PREFERIDO cascade constraints;

drop table INTEGRANTES cascade constraints;

drop table PROYECTO cascade constraints;

drop table USUARIO cascade constraints;

drop table USUARIO_FREE cascade constraints;

drop table USUARIO_GOLD cascade constraints;

drop table VIDEO cascade constraints;

drop table VISUALIZA_CARATULA cascade constraints;

drop table WALLPAPERS cascade constraints;

create table ADQUIERE_ARTICULO (
ALIAS CHAR not null,
ID_ARTICULO INT not null,
CANTADQUIRIDA INT,
constraint PK_ADQUIERE_ARTICULO primary key (ALIAS, ID_ARTICULO)
);

create table ADQUIERE_CANCION (
ALIAS CHAR not null,
ID_CANCION INT not null,
CANTADQUIRIDA INT,
constraint PK_ADQUIERE_CANCION primary key (ALIAS, ID_CANCION)
);

create table ADQUIERE_VIDEO (
ALIAS CHAR not null,
ID_ARTISTA INT not null,
ID_VIDEO INT not null,
CANTADQUIRIDA INT,
constraint PK_ADQUIERE_VIDEO primary key (ALIAS, ID_ARTISTA, ID_VIDEO)
);

create table ARTICULO (
ID_ARTICULO INT not null,
NOMBRE CHAR,
PRECIO INT,
constraint PK_ARTICULO primary key (ID_ARTICULO)
);

create table ARTISTA (
ID_ARTISTA INT not null,
NOMBRE CHAR,
BIOGRAFIA CHAR,
constraint PK_ARTISTA primary key (ID_ARTISTA)
);

create table ARTISTA_PREFERIDO (
ARTISTA_PREFERIDO CHAR not null,
ALIAS CHAR not null,
constraint PK_ARTISTA_PREFERIDO primary key (ARTISTA_PREFERIDO, ALIAS)
);

create table CANCION_MP3 (
ID_CANCION INT not null,
ID_ARTISTA INT,
AUTOR CHAR,
ALBUM CHAR,
TITULO CHAR,
ANO CHAR,
GENERO CHAR,
LIRICA CHAR,
NOMBRE_ARCHIVO CHAR,
constraint PK_CANCION_MP3 primary key (ID_CANCION)
);

create table CARATULA (
ID_DISCO INT not null,
ID_ARTISTA INT not null,
NOMBRE_DISCO CHAR,
ARCHIVO_CARATULA BLOB,
constraint PK_CARATULA primary key (ID_DISCO, ID_ARTISTA)
);

create table CONSULTA_CANCION (
ALIAS CHAR not null,
ID_CANCION INT not null,
CANTCONSULTA INT,
constraint PK_CONSULTA_CANCION primary key (ALIAS, ID_CANCION)
);

create table DESCARGA_WALLPAPER (
ID_ARTISTA INT not null,
ALIAS CHAR not null,
ID_IMAGEN INT not null,
CANTDESCARGA INT,
constraint PK_DESCARGA_WALLPAPER primary key (ID_ARTISTA, ALIAS, ID_IMAGEN)
);

create table DETALLE (
DETALLE CHAR not null,
ID_ARTICULO INT not null,
constraint PK_DETALLE primary key (DETALLE, ID_ARTICULO)
);

create table GENERO_PREFERIDO (
GENERO CHAR not null,
ALIAS CHAR not null,
constraint PK_GENERO_PREFERIDO primary key (GENERO, ALIAS)
);

create table INTEGRANTES (
INTEGRANTES CHAR not null,
ID_ARTISTA INT not null,
constraint PK_INTEGRANTES primary key (INTEGRANTES, ID_ARTISTA)
);

create table PROYECTO (
PROYECTO CHAR not null,
ID_ARTISTA INT not null,
constraint PK_PROYECTO primary key (PROYECTO, ID_ARTISTA)
);

create table USUARIO (
ALIAS CHAR not null,
MAIL CHAR,
CONTRASENA CHAR,
EDAD INT,
APELLIDO CHAR,
NOMBRE CHAR,
constraint PK_USUARIO primary key (ALIAS)
);

create table USUARIO_FREE (
ALIAS CHAR not null,
constraint PK_USUARIO_FREE primary key (ALIAS)
);

create table USUARIO_GOLD (
ALIAS CHAR not null,
FECHA_INICIO CHAR,
constraint PK_USUARIO_GOLD primary key (ALIAS)
);

create table VIDEO (
ID_ARTISTA INT not null,
ID_VIDEO INT not null,
NOMBRE_VIDEO CHAR,
ARCHIVO_VIDEO BLOB,
constraint PK_VIDEO primary key (ID_ARTISTA, ID_VIDEO)
);

create table VISUALIZA_CARATULA (
ALIAS CHAR not null,
ID_DISCO INT not null,
ID_ARTISTA INT not null,
CANTVISUALIZADA INT,
constraint PK_VISUALIZA_CARATULA primary key (ALIAS, ID_DISCO, ID_ARTISTA)
);

create table WALLPAPERS (
ID_ARTISTA INT not null,
ID_IMAGEN INT not null,
NOMBRE_IMAGEN CHAR,
ARCHIVO_IMAGEN BLOB,
constraint PK_WALLPAPERS primary key (ID_ARTISTA, ID_IMAGEN)
);

alter table ADQUIERE_ARTICULO
add constraint FK_ADQUIERE_REFERENCE_USUARIO foreign key (ALIAS)
references USUARIO (ALIAS);

alter table ADQUIERE_ARTICULO
add constraint FK_ADQUIERE_REFERENCE_ARTICULO foreign key (ID_ARTICULO)
references ARTICULO (ID_ARTICULO);

alter table ADQUIERE_CANCION
add constraint FK_ADQUIERE_REFERENCE_CANCION_ foreign key (ID_CANCION)
references CANCION_MP3 (ID_CANCION);

alter table ADQUIERE_CANCION
add constraint FK_ADQUIERE_REFERENCE_USUARIO foreign key (ALIAS)
references USUARIO (ALIAS);

alter table ADQUIERE_VIDEO
add constraint FK_ADQUIERE_REFERENCE_USUARIO foreign key (ALIAS)
references USUARIO (ALIAS);

alter table ADQUIERE_VIDEO
add constraint FK_ADQUIERE_REFERENCE_VIDEO foreign key (ID_ARTISTA, ID_VIDEO)
references VIDEO (ID_ARTISTA, ID_VIDEO);

alter table CANCION_MP3
add constraint FK_CANCION__REFERENCE_ARTISTA foreign key (ID_ARTISTA)
references ARTISTA (ID_ARTISTA);

alter table CARATULA
add constraint FK_CARATULA_REFERENCE_ARTISTA foreign key (ID_ARTISTA)
references ARTISTA (ID_ARTISTA);

alter table CONSULTA_CANCION
add constraint FK_CONSULTA_REFERENCE_CANCION_ foreign key (ID_CANCION)
references CANCION_MP3 (ID_CANCION);

alter table CONSULTA_CANCION
add constraint FK_CONSULTA_REFERENCE_USUARIO foreign key (ALIAS)
references USUARIO (ALIAS);

alter table DESCARGA_WALLPAPER
add constraint FK_DESCARGA_REFERENCE_WALLPAPE foreign key (ID_ARTISTA, ID_IMAGEN)
references WALLPAPERS (ID_ARTISTA, ID_IMAGEN);

alter table DESCARGA_WALLPAPER
add constraint FK_DESCARGA_REFERENCE_USUARIO_ foreign key (ALIAS)
references USUARIO_GOLD (ALIAS);

alter table VIDEO
add constraint FK_VIDEO_REFERENCE_ARTISTA foreign key (ID_ARTISTA)
references ARTISTA (ID_ARTISTA);

alter table VISUALIZA_CARATULA
add constraint FK_VISUALIZ_REFERENCE_CARATULA foreign key (ID_DISCO, ID_ARTISTA)
references CARATULA (ID_DISCO, ID_ARTISTA);

alter table VISUALIZA_CARATULA
add constraint FK_VISUALIZ_REFERENCE_USUARIO foreign key (ALIAS)
references USUARIO (ALIAS);

alter table WALLPAPERS
add constraint FK_WALLPAPE_REFERENCE_ARTISTA foreign key (ID_ARTISTA)
references ARTISTA (ID_ARTISTA);