Ver Mensaje Individual
  #3  
Antiguo 12-12-2005
Avatar de jachguate
jachguate jachguate is offline
Miembro
 
Registrado: may 2003
Ubicación: Guatemala
Posts: 6.254
Reputación: 28
jachguate Va por buen camino
Podes utilizar una tabla del tipo:

Código SQL [-]
create table matriz (
  dimension1 integer not null check (dimension1 between 1 and 100),
  dimension2 integer not null check (dimension2 between 1 and 100),
  dimension3 integer not null check (dimension3 between 1 and 100),
  valor varchar(50), /* o el tipo de dato que te interese*/
constraint pk_matriz
  primary key (dimension1, dimension2, dimension3)
);
Eso debiera correr sin mayores cambios en cualquier motor decente.

Saludos.

__________________
Juan Antonio Castillo Hernández (jachguate)
Guía de Estilo | Etiqueta CODE | Búsca antes de preguntar | blog de jachguate
Responder Con Cita