Results 1 to 2 of 2

Thread: Unable to create a Partitioned Indexed View

  1. #1
    Join Date
    Jul 2005
    Location
    India
    Posts
    5

    Unable to create a Partitioned Indexed View

    Hi,

    While creating an indexed view with the command :

    create unique clustered index idx_atrid on account_transactions (policy)

    there is a check constraint on the policy column of the tables used in this view.

    The following error is encountered

    Cannot index the view 'test.dbo.account_transactions'. It contains one or more disallowed constructs.

    Can anyone help?

  2. #2
    Join Date
    Sep 2002
    Posts
    5,938
    Did you check 'Restrictions on indexed views' in sql books online? Did you follow those rules when create view?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •