I need to check if a row contains the correct Oracle table name using sql / plsql. The criteria I found for the Oracle table name are as follows:
- The table name must begin with a letter.
- The table name cannot be longer than 30 characters.
- The table name must consist of alphanumeric characters or the following special characters: $, _, and #.
- The table name cannot be a reserved word.
Criteria 1,2,3 do not seem so difficult to solve. But what about point 4? What are my options, without actually trying to create a table with the given name, and then see if it succeeds or fails.
Reene source
share