Documentos de Académico
Documentos de Profesional
Documentos de Cultura
if exists (select 1
go
if exists (select 1
go
if exists (select 1
from sysindexes
where id = object_id('CLIENTE')
go
if exists (select 1
from sysobjects
where id = object_id('CLIENTE')
go
if exists (select 1
from sysindexes
where id = object_id('LIBRO')
go
if exists (select 1
from sysobjects
where id = object_id('LIBRO')
go
if exists (select 1
from sysindexes
where id = object_id('PEDIDO')
go
if exists (select 1
from sysindexes
where id = object_id('PEDIDO')
go
if exists (select 1
from sysobjects
where id = object_id('PEDIDO')
go
/*==============================================================*/
/* Table: CLIENTE */
/*==============================================================*/
go
/*==============================================================*/
/* Index: CLIENTE_PEDIDO_FK */
/*==============================================================*/
create index CLIENTE_PEDIDO_FK on CLIENTE (
IDCLIENTE ASC
go
/*==============================================================*/
/* Table: LIBRO */
/*==============================================================*/
go
/*==============================================================*/
/* Index: LIBRO_PEDIDO_FK */
/*==============================================================*/
IDLIBRO ASC
go
/*==============================================================*/
/* Table: PEDIDO */
/*==============================================================*/
go
/*==============================================================*/
/* Index: LIBRO_PEDIDO2_FK */
/*==============================================================*/
IDLIBRO ASC
go
/*==============================================================*/
/* Index: CLIENTE_PEDIDO2_FK */
/*==============================================================*/
IDPEDIDO ASC
)
go
go
go