Tables [dbo].[DataSource]
Properties
PropertyValue
CollationLatin1_General_CI_AS_KS_WS
Row Count15
Created12:33:31 PM Tuesday, March 06, 2007
Last Modified12:33:31 PM Tuesday, March 06, 2007
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK_DataSource: DSIDDSIDuniqueidentifier16
No
Foreign Keys FK_DataSourceItemID: [dbo].[Catalog].ItemIDIndexes IX_DataSourceItemID: ItemIDItemIDuniqueidentifier16
Yes
Indexes IX_DataSourceSubscriptionID: SubscriptionIDSubscriptionIDuniqueidentifier16
Yes
Namenvarchar(260)520
Yes
Extensionnvarchar(260)520
Yes
Linkuniqueidentifier16
Yes
CredentialRetrievalint4
Yes
Promptntextmax
Yes
ConnectionStringimagemax
Yes
OriginalConnectionStringimagemax
Yes
OriginalConnectStringExpressionBasedbit1
Yes
UserNameimagemax
Yes
Passwordimagemax
Yes
Flagsint4
Yes
Versionint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_DataSource: DSIDPK_DataSourceDSID
Yes
IX_DataSourceItemIDItemID
IX_DataSourceSubscriptionIDSubscriptionID
Foreign Keys Foreign Keys
NameNo CheckColumns
FK_DataSourceItemID
Yes
ItemID->[dbo].[Catalog].[ItemID]
Permissions
TypeActionOwning Principal
GrantDeleteRSExecRole
GrantInsertRSExecRole
GrantReferencesRSExecRole
GrantSelectRSExecRole
GrantUpdateRSExecRole
SQL Script
CREATE TABLE [dbo].[DataSource]
(
[DSID] [uniqueidentifier] NOT NULL,
[ItemID] [uniqueidentifier] NULL,
[SubscriptionID] [uniqueidentifier] NULL,
[Name] [nvarchar] (260) COLLATE Latin1_General_CI_AS_KS_WS NULL,
[Extension] [nvarchar] (260) COLLATE Latin1_General_CI_AS_KS_WS NULL,
[Link] [uniqueidentifier] NULL,
[CredentialRetrieval] [int] NULL,
[Prompt] [ntext] COLLATE Latin1_General_CI_AS_KS_WS NULL,
[ConnectionString] [image] NULL,
[OriginalConnectionString] [image] NULL,
[OriginalConnectStringExpressionBased] [bit] NULL,
[UserName] [image] NULL,
[Password] [image] NULL,
[Flags] [int] NULL,
[Version] [int] NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[DataSource] ADD CONSTRAINT [PK_DataSource] PRIMARY KEY CLUSTERED ([DSID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_DataSourceItemID] ON [dbo].[DataSource] ([ItemID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_DataSourceSubscriptionID] ON [dbo].[DataSource] ([SubscriptionID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DataSource] WITH NOCHECK ADD CONSTRAINT [FK_DataSourceItemID] FOREIGN KEY ([ItemID]) REFERENCES [dbo].[Catalog] ([ItemID])
GO
GRANT REFERENCES ON  [dbo].[DataSource] TO [RSExecRole]
GRANT SELECT ON  [dbo].[DataSource] TO [RSExecRole]
GRANT INSERT ON  [dbo].[DataSource] TO [RSExecRole]
GRANT DELETE ON  [dbo].[DataSource] TO [RSExecRole]
GRANT UPDATE ON  [dbo].[DataSource] TO [RSExecRole]
GO
Uses
Used By