Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

INDEXING A VIEW in MSSQL2K5x64.de Standard w.SP1 ... ERROR 1939

$
0
0

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

ARITHABORTON

GO

SET

CONCAT_NULL_YIELDS_NULLON

GO

SET

QUOTED_IDENTIFIERON

GO

SET

ANSI_NULLSON

GO

SET

ANSI_PADDINGON

GO

SET

ANSI_WARNINGSON

GO

SET

NUMERIC_ROUNDABORTOFF

GO

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

 

 

 

 


Viewing all articles
Browse latest Browse all 8428


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>