Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: SDDL_PARSER_MSG - Message Class for DDL Parser
Message number: 099
Message text: Select * cannot be used to add to the projection list
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.
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.
SDDL_PARSER_MSG099
- Select * cannot be used to add to the projection list ?The SAP error message SDDL_PARSER_MSG099 indicates that there is an issue with the use of the
SELECT *
statement in a context where it cannot be used to add to the projection list. This typically occurs in the context of SAP HANA or when working with SQL views or procedures where the projection list is being defined.Cause:
The error arises because the SQL syntax or the context in which
SELECT *
is being used does not allow for the selection of all columns in the way that is being attempted. This can happen in several scenarios, such as:
- Incompatible Context: The
SELECT *
statement is being used in a place where a specific list of columns is required, such as in a subquery or when defining a view.- Projection List Restrictions: The system may have restrictions on using
SELECT *
in certain types of queries or when working with specific database objects.- SQL Syntax Error: There may be a syntax error or misconfiguration in the SQL statement that leads to this error.
Solution:
To resolve this error, you can take the following steps:
Specify Columns Explicitly: Instead of using
SELECT *
, explicitly list the columns you want to include in your query. For example:SELECT column1, column2, column3 FROM your_table;
Check Context: Ensure that you are using the
SELECT
statement in a context that allows for the selection of all columns. If you are defining a view or a projection, make sure to adhere to the syntax and requirements for that context.Review SQL Syntax: Double-check your SQL syntax for any errors or misconfigurations that might be causing the issue. Ensure that the SQL statement is valid and follows the rules of the SQL dialect you are using.
Consult Documentation: Refer to the SAP HANA SQL Reference or relevant documentation for specific guidelines on using
SELECT
statements and the limitations that may apply.Related Information:
SELECT
statements and projections.SELECT *
can lead to performance issues, especially if the table has many columns or if you are working with large datasets. It is generally a good practice to select only the columns you need.By following these steps, you should be able to resolve the SDDL_PARSER_MSG099 error and successfully execute your SQL query.
Get instant SAP help. Sign up for our Free Essentials Plan.
SDDL_PARSER_MSG098
Extension of a table function is not possible
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SDDL_PARSER_MSG097
Extension of a view extend is not possible
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SDDL_PARSER_MSG100
Extension of a view with UNION or UNION ALL is not possible
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SDDL_PARSER_MSG101
VIEW, "TABLE FUNCTION", or "ABSTRACT" was expected instead of '&1'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.