SQL Developer 3.0 , can't run the command - oracle

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"

Related

Oracle SQL Developer 20.4.1 - View Object Details Not Showing SQL?

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.

Oracle apex report does not get printed when I click the button but gets printed when I test It from shared components

I am trying to use BI publisher as the printing server on my APEX app, but when I try to use the generated link (f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=COUNTRY%20INFO) on a button it does not work and gives a error as "Contact your application administrator. Details about this incident are available via debug id "4162"." but the debug log doesn't show any errors, however the report gets printed fine when i click the test report button in "Shared Components/Report Queries/Edit" tab.
I can't find the mistake here
I use oracle apex 22.0 on Oracle 21c xe locally, BI publisher server is also setup locally
I tried the link with different buttons in different pages but still it doesn't work

Unable to bind Application item - Oracle Apex

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.

Is it possible to edit a table via dblink in APEX?

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!

What are possible reasons my SSRS report is throwing this error in the "Report Manager" view?

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.

Resources