TFS_ANTIGUO/TPAtesa_Vitalit/BE/InventarioV2/Tablas/Seguridad.Rol.Table.sql
2026-06-26 09:45:23 -06:00

29 lines
2.8 KiB
Transact-SQL
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

USE [InventarioV2]
GO
/****** Object: Table [Seguridad].[Rol] Script Date: 23/12/2020 02:53:58 p.m. ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [Seguridad].[Rol](
[Id_Rol] [int] NOT NULL,
[Descripcion] [varchar](255) NOT NULL,
[Funciones] [varchar](255) NOT NULL,
[Estado] [bit] NOT NULL,
CONSTRAINT [PK_Rol] PRIMARY KEY CLUSTERED
(
[Id_Rol] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Identificador único interno para diferenciar los roles entre sí.' , @level0type=N'SCHEMA',@level0name=N'Seguridad', @level1type=N'TABLE',@level1name=N'Rol', @level2type=N'COLUMN',@level2name=N'Id_Rol'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Identificador único interno para diferenciar los roles entre sí.' , @level0type=N'SCHEMA',@level0name=N'Seguridad', @level1type=N'TABLE',@level1name=N'Rol', @level2type=N'COLUMN',@level2name=N'Descripcion'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Campo para identificar las funciones que debe de realizar el rol.' , @level0type=N'SCHEMA',@level0name=N'Seguridad', @level1type=N'TABLE',@level1name=N'Rol', @level2type=N'COLUMN',@level2name=N'Funciones'
GO