In the SQL Developer, I run this query, it gave me error : "table or view does not exist".
I tried to discontinute first and login agin, still same error.
But I use TOAD to run same query, it works.
SQL Developer have any settings to cause this ?
My SQL Developer version is 3.0.04. I am losing confidence in this tool.
select * from myschema.codes0
As I do this in SQL Developer every day, it's not a problem with the tool. I'd say you're almost certainly logged in as a user that does not have privileges over myschema. What user are you logging in as?
Assuming codes0 is a table, this should tell you if you have select privileges over it:
SELECT * FROM all_tab_privs WHERE table_owner = 'MYSCHEMA' AND table_name = 'CODES0'
Related
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.
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!
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"
I am using asp.net mvc 3 and oracle database with ODAC1120240Beta_EntityFramework.
I want to do authorization in my site. Database works correctly, I can do everything with Database data, but if I go to ASP.NET Configuration -> Provider I see only AspNetSqlMembershipProvider.
InstallAllOracleASPNETProviders doesn't work correctly.
All functions, views and packages were created succesully. I do all using this Oracle Guide
Here is part of Oracle Database Output after executing this script from Visual Studio Tools.
GRANT SELECT ON ora_vw_aspnet_Applications TO ora_aspnet_Mem_ReportAccess
*
error in string 1:
ORA-01917: user or role 'ORA_ASPNET_MEM_REPORTACCESS' does not exist
GRANT SELECT ON ora_vw_aspnet_Users TO ora_aspnet_Mem_ReportAccess
*
error in string 1:
ORA-01917: user or role 'ORA_ASPNET_MEM_REPORTACCESS' does not exist
GRANT SELECT ON ora_vw_aspnet_MemUsers TO ora_aspnet_Mem_ReportAccess
*
error in string 1:
ORA-00942: table or view does not exist
You can implement using flow link.