I'm experiencing a problem while trying to index a view ... I'm using a single field and everything else are default entry's. I'm getting the Error Message 1939 .
The code is a follows:
USE
[CS_WGO]GO
SET
ARITHABORTONGO
SET
CONCAT_NULL_YIELDS_NULLONGO
SET
QUOTED_IDENTIFIERONGO
SET
ANSI_NULLSONGO
SET
ANSI_PADDINGONGO
SET
ANSI_WARNINGSONGO
SET
NUMERIC_ROUNDABORTOFFGO
CREATE
UNIQUECLUSTEREDINDEX [IDX_ALG_ORG_BEZ_V_1] ON [dbo].[ALG_ORG_BEZ_V](
[NDL]
ASC)
WITH(STATISTICS_NORECOMPUTE =OFF, SORT_IN_TEMPDB =OFF, DROP_EXISTING =OFF, IGNORE_DUP_KEY =OFF, ONLINE =OFF, ALLOW_ROW_LOCKS =ON, ALLOW_PAGE_LOCKS =OFF)ON [PRIMARY]GO
And the Error is:
Msg 1939, Level 16, State 1, Line 1
Index kann für die 'ALG_ORG_BEZ_V'-Sicht nicht erstellt werden, da die Sicht nicht schemagebunden ist.
For those of you who do not read German ... it means something like ..." The Index kann not be created because the view is not bound to a schema.
I don't understand what that means for me ... can someone explain that to me a little bit more in depth ... ?
Thanx ... wvg