I am using Oracle SQL Developer 20.4.1.407 connecting to an Oracle 11g database
I have a view in the left hand side pane which I click on once and then on the right hand side it pulls up the object details.
So I see multiple tabs
Columns - Data - Grants - Dependancies - Details - Triggers - SQL - Errors
When I click on "SQL" a pop up comes up saying "Generating DDL" then it pulls up blank
Now when I go to the "Details" tab I can see some sort of SQL in the "TEXT" field as shown
So 2 questions
First I was wondering why doesnt the SQL just show up in the SQL tab? Is this a permissions issue with my loggged in user?
Second if the SQL is shown in the details TEXT column why have a SQL tab at all? Whats the difference between the two spots?
Thanks in advance
For a view, this is most likely a privileges issue.
For example, if I logon as SCOTT on my database, I can click on views in the SYS schema and see their Details, eg
But if click DDL, then I'll get a blank because I don't have privileges to query the contents of the view or its definition.
Views are an "odd" case, because the DDL is virtually synonymous with the data in ALL_VIEWS.TEXT_VC.
Sidenote: SQL Dev 20 is long in the tooth. Its trivial to upgrade so why not head over to SQL Dev 22.
Related
I have created 2 application items in shared component option.
Protection level: Restricted
Scope: Application
Then I have created a process in the login page where sql query is
select user_id, name into :G_USER_ID , :G_USER_NAME
from t_users
where upper(email) = upper(:P9999_USERNAME);
When I try to login it gives me error. Debugging says that there is an error in the above statement. I am not able to bind these items.
I'm using apex 19.1
It would help if you said which error you got.
However, if this piece of code runs before you managed to log in, you didn't establish connection to the database (yet) and can't select from any table, including t_users.
I've created a form in the APEX and I need to edit a table via dblink, which is already created . So, when I ask to show me a data in this remoute table- it's work fine, but when I'm trying to edit data, I get the error:
"Table or view OPERATION#DBQA not found Contact your application
administrator."
In the SQL workshop>SQL Commands- it also works fine(
update usr.operation#dbqa
set description='admin3' where operation_id=10
)
Well, I've created view usr.operation_qa as select * from usr.operation#dbqa, but, anyway, I receive the same error
"Table or view OPERATION_QA not found Contact your application
administrator."
I'll repeat, a permission and dblink -are ok, couse it's worl in SQL Commands
Will be appreciate for any help or comments. Thanks!
Trying to set-up a Oracle data source from the WSO2 Management Console. My problem is that the page where one would enter the connection details (url, username etc) shows up empty, there are no fields/columns.
From the Tools section - Database Explorer - I can connect to the database and retrieve data so I'm assuming that the drivers are ok.
Have tried to set-up the data source with several different browsers but all behave the same - I can enter the "Create Data Service" - page 1 and give a name to the data store. Then comes up the second page, titled "Data Sources" and there is the text/link "Add New Data Store". Clicking that open a new page (addDataSource.jsp) but it is totally empty, now even a single header or anything, only a help button on far right corner.
The version of DSS is 3.2.1.
Would someone know how to resolve this?
My report was working just fine a few days ago, and i don't recall changing anything..
But I'm now getting this error when I run the report in the "Report Manager" view.
An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset 'DataSet1'. (rsErrorExecutingCommand)
For more information about this error navigate to the report server on the local server machine, or enable remote errors
EDIT:
Ok so I did try the SPROC in SSMS like so:
exec prc_RPT_Quota_Info 17221
and it returns a proper result:
SurveyNumber ID HoursRemaining FieldHours FEDSurveyName FieldEndDate FieldBeginDate SurveyStatusName ProjectName ProjectManager ClientName
17221 16226 -2195.75 NULL j41881 - Burial Preferences Survey - States 2012-09-10 06:00:00.000 NULL Complete 41881 Gibbs & Soell - Burial Preferences Survey Peter Gallagher BCC Public Affairs & Policy
any tips
Plainly, Dataset1's query isn't working. Firstly, check that the Stored Procedure radio button is selected in the Dataset Properties.
Running SQL Profiler and seeing what SQL is hitting the server might help.
Given that you have copied the query into SQL Server Management Studio and it works, it sounds like a permissions issue - that is, running it in SSMS under your account works, but it isn't working when the Reorting Services server runs it under its account.
Check the permissions of the Stored Procedure to see if the SSRS server account has the right permissions to execute the stored proc.
I am using Toad 9.7, when I run command "describe my_storedprocedure", it can get results. Then in SQL Developer 3.0, I use same user name / password to login same Oracle database, use same command, it can't show the content of that storedproc .
Do you know why ?
To see the content of a stored procedure:
doubleclick on the procedure name so that it is highlighted
right click to get the context menu
select "Popup describe"