How To Fix RSMSS_ANALYZER_MSG061 - Clustered indexes cannot have include columns


SAP Error Message - Details

  • Message type: E = Error

  • Message class: RSMSS_ANALYZER_MSG - Messages for RSMSS_ANALYZER

  • Message number: 061

  • Message text: Clustered indexes cannot have include columns

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message RSMSS_ANALYZER_MSG061 - Clustered indexes cannot have include columns ?

    The SAP error message RSMSS_ANALYZER_MSG061 indicates that there is an issue with the definition of a clustered index in your SQL Server database. Specifically, the error states that "Clustered indexes cannot have include columns." This means that you are trying to create or modify a clustered index with included columns, which is not allowed in SQL Server.

    Cause:

    In SQL Server, a clustered index determines the physical order of data in a table. It can only consist of key columns, and it does not support included columns. Included columns are only allowed in non-clustered indexes. The error typically arises when:

    • You are trying to create a clustered index with included columns.
    • There is a misunderstanding of how to define indexes in SQL Server.

    Solution:

    To resolve this error, you need to modify the index definition. Here are the steps you can take:

    1. Review the Index Definition: Check the SQL statement or the index definition that is causing the error. Look for any included columns in the clustered index definition.

    2. Remove Included Columns: If you find included columns in the clustered index, you need to remove them. The clustered index should only include key columns.

    3. Create a Non-Clustered Index: If you need to use included columns, consider creating a non-clustered index instead. Non-clustered indexes can have included columns.

      Example of creating a non-clustered index with included columns:

      CREATE NONCLUSTERED INDEX idx_example
      ON your_table (key_column)
      INCLUDE (included_column1, included_column2);
    4. Recreate the Clustered Index: If you need to recreate the clustered index without included columns, you can do so with a statement like:

      CREATE CLUSTERED INDEX idx_clustered_example
      ON your_table (key_column1, key_column2);

    Related Information:

    • Clustered Index: A clustered index sorts and stores the data rows in the table based on the key values. There can be only one clustered index per table.
    • Non-Clustered Index: A non-clustered index is a separate structure from the data rows. It can have included columns, which are not part of the key but can be used to cover queries.
    • SQL Server Documentation: For more detailed information, refer to the official Microsoft SQL Server documentation on indexes, which provides guidelines on how to create and manage both clustered and non-clustered indexes.

    By following these steps, you should be able to resolve the error and properly define your indexes in SQL Server.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant