Tables [dbo].[BiReportingView]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)69
Created9:23:26 AM Friday, December 7, 2018
Last Modified9:23:44 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Primary Key PK_BiReportingView: BiReportingViewIDBiReportingViewIDint4
No
1 - 1
CreateOrderint4
Yes
Indexes IX_BiReportingView_ViewName: ViewNameViewNamenvarchar(50)100
No
Aliasvarchar(200)200
No
Foreign Keys FK_BiReportingView_BiReportingBusinessCategoryFID: [dbo].[BiReportingBusinessCategory].BiReportingBusinessCategoryFIDBiReportingBusinessCategoryFIDint4
No
ViewSqlnvarchar(max)max
Yes
Defaultsnvarchar(max)max
Yes
MustHaveGpbit1
No
((0))
Indexes Indexes
NameColumnsUnique
Primary Key PK_BiReportingView: BiReportingViewIDPK_BiReportingViewBiReportingViewID
Yes
IX_BiReportingView_ViewNameViewName
Yes
Foreign Keys Foreign Keys
NameColumns
FK_BiReportingView_BiReportingBusinessCategoryFIDBiReportingBusinessCategoryFID->[dbo].[BiReportingBusinessCategory].[BiReportingBusinessCategoryID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[BiReportingView]
(
[BiReportingViewID] [int] NOT NULL IDENTITY(1, 1),
[CreateOrder] [int] NULL,
[ViewName] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Alias] [varchar] (200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[BiReportingBusinessCategoryFID] [int] NOT NULL,
[ViewSql] [nvarchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Defaults] [nvarchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[MustHaveGp] [bit] NOT NULL CONSTRAINT [DF_BiReportingView_MustHaveGp] DEFAULT ((0))
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[BiReportingView] ADD CONSTRAINT [PK_BiReportingView] PRIMARY KEY NONCLUSTERED  ([BiReportingViewID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BiReportingView] ADD CONSTRAINT [IX_BiReportingView_ViewName] UNIQUE NONCLUSTERED  ([ViewName]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BiReportingView] ADD CONSTRAINT [FK_BiReportingView_BiReportingBusinessCategoryFID] FOREIGN KEY ([BiReportingBusinessCategoryFID]) REFERENCES [dbo].[BiReportingBusinessCategory] ([BiReportingBusinessCategoryID])
GO
GRANT SELECT ON  [dbo].[BiReportingView] TO [MssExec]
GRANT INSERT ON  [dbo].[BiReportingView] TO [MssExec]
GRANT DELETE ON  [dbo].[BiReportingView] TO [MssExec]
GRANT UPDATE ON  [dbo].[BiReportingView] TO [MssExec]
GO
Uses
Used By