When you change an invisible column in Oracle 12c database to visible, the COL# assigned will be the highest available, so the column becomes the last column in the table (not storage, only display). So, if you accidentally make a column invisible and correct this by changing it to visible, the column order changes. Therefore, if the application uses “SELECT *” or “INSERT” without column names, they might break!
Once a table’s column is set to invisible, the following key statements will not work for the invisible column:
- SELECT * FROM in SQL Statement
- DESCRIBE statement
- %ROWTYPE in PL/SQL variable declaration
- Invisible columns will still available for indexing and such indexes can be used for cost-based optimizer purposes. Don’t confuse an invisible index with an index on invisible column, as they are entirely different concepts.
Continuar leyendo aqui
Fuente: http://allthingsoracle.com/invisible-columns-in-oracle-database-12c/
No hay comentarios:
Publicar un comentario