An Oracle table or view does not exist ____oracle

Source: Internet
Author: User

1 Check Database connection information


2 Check the query's table name


3 View the permissions of the table and whether the currently logged on user has query permissions for the table.



4 ORACLE queries automatically convert uppercase so the query's table name plus "" is generated.


The problem was solved using the 4th.


In Java code

Select ID name from \ t_test\ where 1=1


In SQL view

Select ID name from "t_test" where 1=1









Failed to get connection


1 Check that the monitor and service are starting normally


2 Check whether the firewall is off (the port is blocked)


3 Modify the Listening parameters


Cmd


Lsnrctl


Lsnrctl > Status



Locate the listener's parameter file address


Modify listening files




Generally in the installation directory of the Oracle/product/dbhome_1/network/admin/listener.ora


In (address = (PROTOCOL=TCP) (HOST =localhost) (port=1521))

Append row

(address = (PROTOCOL=TCP) (HOST =xxx.xxx.xxx) (port=1521))


XXX is the IP address of the server.










Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.