环境 Oracle 11.2.0 SQL Plus PowerDesigner 15.1 问题 这学期学习Oracle数据库应用技术,需要做一个课程设计。PowerDesigner导出SQL,导入到Oracle中查询表结构报“ORA-04043: 对象XXX不存在”错误。 解决 查询表结构时加上双引号。 总结 工具自动生成的SQL
环境
Oracle 11.2.0 + SQL Plus + PowerDesigner 15.1
问题
这学期学习Oracle数据库应用技术,需要做一个课程设计。PowerDesigner导出SQL,导入到Oracle中查询表结构报“ORA-04043: 对象XXX不存在”错误。
解决
查询表结构时加上双引号。
总结
工具自动生成的SQL会有些问题,所以我是不建议使用工具自动生成的,手写才是保证万无一失的最好方法。
操作日志
G:\编程资料\Learning\数据库应用技术 Oracle\实验\实验五>sqlplus wgb SQL*Plus: Release 11.2.0.1.0 Production on 星期二 6月 11 09:07:05 2013 Copyright (c) 1982, 2010, Oracle. All rights reserved. 输入口令: 连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> SELECT * from tab; TNAME TABTYPE CLUSTERID ------------------------------ ------- ---------- tb_class TABLE tb_course TABLE tb_score TABLE tb_select TABLE TNAME TABTYPE CLUSTERID ------------------------------ ------- ---------- tb_student TABLE tb_teacher TABLE tb_user TABLE 已选择7行。 SQL> DESC tb_class; ERROR: ORA-04043: 对象 tb_class 不存在 SQL> DESC tb_course; ERROR: ORA-04043: 对象 tb_course 不存在 SQL> DESCRIBE tb_class; ERROR: ORA-04043: 对象 tb_class 不存在 SQL> SELECT * from tb_class 2 ; SELECT * from tb_class * 第 1 行出现错误: ORA-00942: 表或视图不存在 SQL> DESC "tb_class"; 名称 是否为空? 类型 ----------------------------------------- -------- ---------------------------- n_teacher_id1 NUMBER(8) n_student_id NUMBER(8) n_class_id NOT NULL NUMBER(8) vc_class_name NOT NULL VARCHAR2(40) vc_class_col NOT NULL VARCHAR2(30) n_course_teacher_id NOT NULL NUMBER(8)
参考资料
http://blog.csdn.net/bupt_zoucq/article/details/6712198
<span><span>我的邮箱</span></span><span>:</span>wgbno27@163.com <span> <span>新浪微博</span></span><span>:</span>@Wentasy27 <span>微信公众平台</span>:JustOracle(微信号:justoracle) <span>数据库技术交流群</span>:336882565(加群时验证 From CSDN XXX) <span>Oracle交流讨论组</span>:https://groups.google.com/d/forum/justoracle <span><strong>By Larry Wen</strong></span>
![]() |
![]() ![]() |
@Wentasy |

mysqlviewshavelimitations:1)他們不使用Supportallsqloperations,限制DatamanipulationThroughViewSwithJoinsOrsubqueries.2)他們canimpactperformance,尤其是withcomplexcomplexclexeriesorlargedatasets.3)

porthusermanagementinmysqliscialforenhancingsEcurityAndsingsmenting效率databaseoperation.1)usecReateusertoAddusers,指定connectionsourcewith@'localhost'or@'%'。

mysqldoes notimposeahardlimitontriggers,butacticalfactorsdeterminetheireffactective:1)serverConfiguration impactactStriggerGermanagement; 2)複雜的TriggerSincreaseSySystemsystem load; 3)largertablesslowtriggerperfermance; 4)highConconcConcrencerCancancancancanceTigrignecentign; 5); 5)

Yes,it'ssafetostoreBLOBdatainMySQL,butconsiderthesefactors:1)StorageSpace:BLOBscanconsumesignificantspace,potentiallyincreasingcostsandslowingperformance.2)Performance:LargerrowsizesduetoBLOBsmayslowdownqueries.3)BackupandRecovery:Theseprocessescanbe

通過PHP網頁界面添加MySQL用戶可以使用MySQLi擴展。步驟如下:1.連接MySQL數據庫,使用MySQLi擴展。 2.創建用戶,使用CREATEUSER語句,並使用PASSWORD()函數加密密碼。 3.防止SQL注入,使用mysqli_real_escape_string()函數處理用戶輸入。 4.為新用戶分配權限,使用GRANT語句。

mysql'sblobissuitableForStoringBinaryDataWithInareLationalDatabase,而ilenosqloptionslikemongodb,redis和calablesolutionsolutionsolutionsoluntionsoluntionsolundortionsolunsonstructureddata.blobobobissimplobisslowdeperformberbutslowderformandperformancewithlararengedata;

toaddauserinmysql,使用:createUser'username'@'host'Indessify'password'; there'showtodoitsecurely:1)choosethehostcarecarefullytocon trolaccess.2)setResourcelimitswithoptionslikemax_queries_per_hour.3)usestrong,iniquepasswords.4)Enforcessl/tlsconnectionswith

toAvoidCommonMistakeswithStringDatatatPesInMysQl,CloseStringTypenuances,chosethirtightType,andManageEngencodingAndCollationsEttingSefectery.1)usecharforfixed lengengtrings,varchar forvariable-varchar forbariaible length,andtext/blobforlargerdataa.2 seterters seterters seterters


熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

SecLists
SecLists是最終安全測試人員的伙伴。它是一個包含各種類型清單的集合,這些清單在安全評估過程中經常使用,而且都在一個地方。 SecLists透過方便地提供安全測試人員可能需要的所有列表,幫助提高安全測試的效率和生產力。清單類型包括使用者名稱、密碼、URL、模糊測試有效載荷、敏感資料模式、Web shell等等。測試人員只需將此儲存庫拉到新的測試機上,他就可以存取所需的每種類型的清單。

SublimeText3 英文版
推薦:為Win版本,支援程式碼提示!

SublimeText3 Linux新版
SublimeText3 Linux最新版

VSCode Windows 64位元 下載
微軟推出的免費、功能強大的一款IDE編輯器

SublimeText3 Mac版
神級程式碼編輯軟體(SublimeText3)