Description
Properties
| Name | Value |
|---|---|
| File Collation | |
| File Group | |
| Filestream File Group | |
| Is Partitioned | False |
| Partitioned Column | |
| Partition Scheme | |
| File Groups | |
| Filestream Partition Scheme | |
| Filestream File Groups | |
| Heap | True |
| Full Text Catalog | |
| Full Text | |
| Compression | NONE |
| Row Count (~) | 2689 |
| Created | 1/11/2017 4:16:01 PM |
| Last Modified | 1/11/2017 4:16:01 PM |
Columns
14| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cliente | int | 4 | 10 | 0 | True |
False |
False |
|||||
| cli_codigo | int | 4 | 10 | 0 | True |
False |
False |
|||||
| id_producto | tinyint | 1 | 3 | 0 | True |
False |
False |
|||||
| limite_consumo | int | 4 | 10 | 0 | False |
False |
False |
|||||
| fecha_desde | date | 3 | 10 | 0 | False |
False |
False |
|||||
| fecha_hasta | date | 3 | 10 | 0 | False |
False |
False |
|||||
| tipo_paquete | char | 1 | 0 | 0 | False |
False |
False |
|||||
| consumido | int | 4 | 10 | 0 | False |
False |
False |
|||||
| bloquear_consumo | bit | 1 | 1 | 0 | False |
False |
False |
|||||
| activo | bit | 1 | 1 | 0 | False |
False |
False |
|||||
| created | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| created_by | int | 4 | 10 | 0 | False |
False |
False |
|||||
| modified | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| modified_by | int | 4 | 10 | 0 | False |
False |
False |
SQL Script
Copy
CREATE TABLE dbo.clientes_productos_new (
cliente int NOT NULL,
cli_codigo int NOT NULL,
id_producto tinyint NOT NULL,
limite_consumo int NULL,
fecha_desde date NULL,
fecha_hasta date NULL,
tipo_paquete char(1) NULL,
consumido int NULL,
bloquear_consumo bit NULL,
activo bit NULL,
created datetime NULL,
created_by int NULL,
modified datetime NULL,
modified_by int NULL
)
ON [PRIMARY]
GO
cliente int NOT NULL,
cli_codigo int NOT NULL,
id_producto tinyint NOT NULL,
limite_consumo int NULL,
fecha_desde date NULL,
fecha_hasta date NULL,
tipo_paquete char(1) NULL,
consumido int NULL,
bloquear_consumo bit NULL,
activo bit NULL,
created datetime NULL,
created_by int NULL,
modified datetime NULL,
modified_by int NULL
)
ON [PRIMARY]
GO
Depends On
1- Fidelitas