Export to Oracle with SQL Server, prompting "table or view does not exist ORA-00942" error when querying

Source: Internet
Author: User

Using the SQL SERVER2005 Export tool, the data export table to Oracle, the table name to see the table, but the query or delete prompt "ORA-00942 table or try not to exist" error, the internet to check a bit, is the following reasons:

"When you query or delete a table with a name that doesn't exist, do you see if the table names are lowercase in user_tables?" That means you must have the quotation mark when you build the watch, and please quote it when you select. For example: SELECT * from "TableName", you can see if the table name is lowercase in SQL Server, when imported to Oracle, the table will be built with double quotation marks, so when exported to Oracle, when user_tables, the table name will be lowercase, Rather than the capitalization we see in general. ”

Try some of the results are true, the table name is more quotes, delete and re-import, import the table name to uppercase is OK.

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.