Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8204341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T07:52:12+00:00 2026-06-07T07:52:12+00:00

I use SQL Server 2008 R2. In my database exists multi indexed view and

  • 0

I use SQL Server 2008 R2.
In my database exists multi indexed view and multi view that use of these indexed view with hint NOEXPAND. When I get script of my database by SSMS (Database\Tasks\Generate Script … ), SSMS product script by below order :

  1. script of indexed view
  2. script of view that use of above indexed view
  3. script of clustered indexed of indexed view.

When I run created script, SQL server create first indexed view with no clustered index, then want to create view of indexed view with NOEXPAND hint, that cause raise error.
What I do?

SSMS error : hint 'noexpand' on object ..(indexed view).. is invalid.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T07:52:14+00:00Added an answer on June 7, 2026 at 7:52 am

    I Search for my question and find method to solve this problem.
    this problem appear when you create a simple view named view1 then created another view named view2 then use view2 in view1 then alter view2 to indexed view.
    for solve this problem , you must recreate view1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a view in SQL Server 2008 that I want to use for
I use SQL Server 2008. I have a database (Database1) that has one table
I use SQL Server 2008 R2 and have a table that I want no
I just started to use SQL Server 2008. I have a winforms application that
I use the following stored procedure from my SQL Server 2008 database to return
I have a SQL Server 2008 database with a table that contains a FILESTREAM
I use the handy Database Diagramming tool in SQL Server 2008 for creating and
I've generated a script of a database in SQL Server 2008. The generated script
Is it possible/feasible/reasonable to use HAProxy to load-balance three SQL Server 2008 database servers?
My problems is as follows. I use a SQL Server 2008 database. I don't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.