Oracle sql how to add long comment
I’m trying to execute
Comment on table TABLENAME is ”;
But the content I want to use for the comment is too long, resulting in an ORA-01704: string literal too long error.
How can I store a very long string in the comment?
Why is my timestamp getting truncated when I select the maximum, non-null value from a series of columns?
So, I have a series of columns and I need the maximum, non-null value.
Trying to grant SELECT on AUDSYS.UNIFIED_AUDIT_TRAIL as a non-SYS-user
In an Oracle database I have a local admin user called LOCAL_ADMIN. As SYS I granted a SELECT privilege including the grant option on the system view AUDSYS.UNIFIED_AUDIT_TRAIL.
Now I connect as LOCAL_ADMIN to grant a SELECT privilege to another user. Doing this I get the following error message:
Oracle apex data saving
creted a report with column emph_cd,emph_emph_name and sec_desc from dhj_department having all the details of teh employees and tni_details column from st_tni_master. when i select particular department then the report will show all employees list according to dpartment selected . now i want to edit the tni_details column and save all this data in th st_tni_master and also st-tni_master hads no record . can i still add the records in st_tni_master and i tried to do it but it shows non-key preserved table error.
Performance Degradation in SQL Query with Extra Space After DISTINCT Keyword
I have encountered an interesting issue related to SQL query performance. When I include an extra space after the DISTINCT keyword in my query, the performance significantly degrades, and sometimes the query fails to return results altogether. However, when there is only a single space after DISTINCT, the query executes quickly.
Create Procedure with date paramerter error in Oracle
I try to create below procedure
How to fetch records having difference of 5 minutes or less | Oracle
I am currently stuck with this approch not getting how do i need to minus
with current timestamp
and find all records which as a difference of 5 minutes or less
How to fetch records having difference of 5 minuted or less | Oracle
I am currently stuck with this approch not getting how do i need to minus
with current timestamp
and find all records which as a difference of 5 minutes or less
Is the data obtained from v$database in Oracle21c CDB or PDB?
I have a CDB called ORCL, which has a PDB called ORCLPDB1.
When_Validate_Item trigger not working in forms 6i
I have successfully created a master-detail form in Oracle Forms 6i. The master form functions as expected, and the detail section is a tabular grid that runs smoothly, similar to the department and employees form. However, when I change the department, it automatically shows all the employee records related to that department, which is great. The issue arises in the detail section, where I have used the when-validate-item trigger to display the employee’s salary in a non-database item within the grid. Unfortunately, it does not show their salary in the text salary field. The form runs correctly otherwise. I would appreciate any ideas on how to display the employee’s salary and other information using the when-validate-item trigger. Thank you.