Ver Mensaje Individual
  #8  
Antiguo 26-08-2012
Avatar de martini002
martini002 martini002 is offline
Miembro
 
Registrado: may 2012
Ubicación: Puerto Ordaz - Venezuela
Posts: 175
Reputación: 12
martini002 Va por buen camino
Stock en Inventario es de tipo Integer

Código:
CREATE TABLE [Inventario] (
  [Codigo] INTEGER, 
  [Articulo] CHAR(48), 
  [Precio] DECIMAL, 
  [Stock] INTEGER);

CREATE UNIQUE INDEX [CodigoUnique] ON [Inventario] ([Codigo]);
Y Cantidad viene de FacturaTemp y es Integer tambien

Código:
CREATE TABLE [FacturaTemp] (
  [Articulo] CHAR(48), 
  [Cantidad] INTEGER, 
  [Precio] DECIMAL);
__________________
El Conocimiento se puede compartir, pero la Experiencia es totalmente Intransferible.
Responder Con Cita