Agregar campo con indice

14/08/2004 - 19:04 por Antonio Ortiz | Informe spam
deseo agregar el siguiente campo: Alter Table TbaExistencia ADD
NoLote nvarchar(20)

Cual es la sintaxis para decirle que cree el indice para NoLote (unico solo
para IDProducto+NoLote)?.


Gracias de antemano,

Antonio Ortiz Ramirez
asesor en sistemas
ant(a)aortiz.net
www.aortiz.net
www.progvisual.com
 

Leer las respuestas

#1 Gustavo Larriera [MVP]
14/08/2004 - 20:45 | Informe spam
Puedes leer acerca de CREATE INDEX en los Books Online (BOL) de tu
instalación SQL.

Gustavo Larriera, MVP
Uruguay LatAm
http://sqljunkies.com/weblog/gux/
Este mensaje se proporciona "COMO ESTA" sin garantias y no otorga ningun
derecho / This posting is provided "AS IS" with no warranties, and confers
no rights.
"Antonio Ortiz" wrote in message
news:%23G%
deseo agregar el siguiente campo: Alter Table TbaExistencia ADD
NoLote nvarchar(20)

Cual es la sintaxis para decirle que cree el indice para NoLote (unico
solo
para IDProducto+NoLote)?.


Gracias de antemano,

Antonio Ortiz Ramirez
asesor en sistemas
ant(a)aortiz.net
www.aortiz.net
www.progvisual.com


Preguntas similares