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 (~) | 0 |
| Created | 4/13/2020 7:55:33 PM |
| Last Modified | 4/13/2020 7:55:33 PM |
Columns
9| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id_user_horario | int | 4 | 10 | 0 | True |
1 - 1 | False |
False |
||||
| cliente | int | 4 | 10 | 0 | True |
False |
False |
|||||
| user_id | int | 4 | 10 | 0 | True |
False |
False |
|||||
| nro_dia | tinyint | 1 | 3 | 0 | True |
False |
False |
|||||
| hora_desde | smallint | 2 | 5 | 0 | True |
False |
False |
|||||
| hora_hasta | smallint | 2 | 5 | 0 | True |
False |
False |
|||||
| activo | bit | 1 | 1 | 0 | True |
(1) | False |
False |
||||
| created | datetime | 8 | 23 | 3 | True |
(getdate()) | False |
False |
||||
| created_by | int | 4 | 10 | 0 | False |
False |
False |
SQL Script
Copy
CREATE TABLE dbo.users_horarios (
id_user_horario int IDENTITY,
cliente int NOT NULL,
user_id int NOT NULL,
nro_dia tinyint NOT NULL,
hora_desde smallint NOT NULL,
hora_hasta smallint NOT NULL,
activo bit NOT NULL DEFAULT (1),
created datetime NOT NULL DEFAULT (getdate()),
created_by int NULL
)
ON [PRIMARY]
GO
id_user_horario int IDENTITY,
cliente int NOT NULL,
user_id int NOT NULL,
nro_dia tinyint NOT NULL,
hora_desde smallint NOT NULL,
hora_hasta smallint NOT NULL,
activo bit NOT NULL DEFAULT (1),
created datetime NOT NULL DEFAULT (getdate()),
created_by int NULL
)
ON [PRIMARY]
GO
Depends On
No items found