thinkphp 中使用oracle 可以查询,但是不能插入。同样代码 ,MYSQL就可以
这是日志[2011-03-22T13:00:5108:00]NOTIC:[8]Undefinedindex:queryStartTimeThinkPHP.php第25行....
这是日志[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: queryStartTime ThinkPHP.php 第 25 行.[ 2011-03-22T13:00:51 08:00 ] SQL: select a.column_name,data_type,decode(nullable,'Y',0,1) notnull,data_default,decode(a.column_name,b.column_name,1,0) pk from user_tab_columns a,(select column_name from user_constraints c,user_cons_columns col where c.constraint_name=col.constraint_name and c.constraint_type='P'and c.table_name='DEMO') b where table_name='DEMO' and a.column_name=b.column_name( ) [ RunTime:1,300,770,051.637187s ][ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: column_name DbOracle.class.php 第 270 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: column_name DbOracle.class.php 第 271 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: data_type DbOracle.class.php 第 272 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: notnull DbOracle.class.php 第 273 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: data_default DbOracle.class.php 第 274 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: pk DbOracle.class.php 第 275 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: pk DbOracle.class.php 第 276 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: column_name DbOracle.class.php 第 270 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: column_name DbOracle.class.php 第 271 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: data_type DbOracle.class.php 第 272 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: notnull DbOracle.class.php 第 273 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: data_default DbOracle.class.php 第 274 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: pk DbOracle.class.php 第 275 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: pk DbOracle.class.php 第 276 行.[ 2011-03-22T13:00:51 08:00 ] NOTIC: [8] Undefined index: queryStartTime ThinkPHP.php 第 25 行.[ 2011-03-22T13:00:51 08:00 ] SQL: SELECT * FROM (SELECT thinkphp.*, rownum AS numrow FROM (SELECT * FROM demo) thinkphp ) [ RunTime:1,300,770,051.640697s ]
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询