博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年7月15日

摘要: update receive_user set (area_id)=(select nvl(busn_id,'0') from region_info where receive_user.area_title=region_info.BUSN_NAME);  阅读全文

posted @ 2009-07-15 14:24 闫景荣 阅读(1173) 评论(0) 推荐(0)

2009年7月13日

摘要: 先找到表的约束名称,执行:select * from user_constraints; 其中 CONSTRAINT_NAME 为表的约束名称然后删除约束:alter tableTABLE_NAME drop constraint CONSTRAINT_NAME cascade; 阅读全文

posted @ 2009-07-13 16:02 闫景荣 阅读(6467) 评论(0) 推荐(0)

2009年7月7日

摘要: Eclipse错误:Version 1.3.1_01 of the JVM is not suitable for this product收藏问题:运行eclipse出现以下错误:Incompatible JVM 的对话框,内容如下: Version 1.3.1_01 of the JVM is not suitable for this product.或者Version:1.4.1 or g... 阅读全文

posted @ 2009-07-07 21:04 闫景荣 阅读(3845) 评论(0) 推荐(0)

摘要: ORACLE GOTO 语句的限制 1.不能跳转到IF语句、LOOP语句或子块中2.不能从子程序跳出3.不能从异常处理跳转到当前块SQL> declare 2 i integer; 3 begin 4 for i in 1..10 loop 5 dbms_output.put_line(to_char(i)); 6 goto end_of_loop; 7 dbms_output.put_li... 阅读全文

posted @ 2009-07-07 16:03 闫景荣 阅读(647) 评论(0) 推荐(0)

2009年7月6日

摘要: 1.jdk环境变量配置:我的电脑->属性->高级->环境变量->系统变量中添加以下环境变量: JAVA_HOME=C:\j2sdk1.4.2_04CLASSPATH=.;C:\j2sdk1.4.2_04\lib\tools.jar;C:\j2sdk1.4.2_04\lib\dt.jar;C:\j2sdk1.4.2_04\bin;path=C:\j2sdk1.4.2_04\b... 阅读全文

posted @ 2009-07-06 20:40 闫景荣 阅读(1652) 评论(0) 推荐(0)

2009年6月29日

摘要: tomcat虚拟目录配置方法收藏1.在你的硬盘上新建一个文件夹,如: D:\cndo2.打开你的tomcat安装目录,找到目录:\webapps\ROOT, 把ROOT中的WEB-INF文件夹复制到第一步新建的D:\cndo中3.打开你的tomcat安装目录,找到conf\server.xml文件并打开, 然后再<host></host> 标签中加入 <Context... 阅读全文

posted @ 2009-06-29 18:37 闫景荣 阅读(1099) 评论(0) 推荐(0)

2009年6月22日

摘要: Select To_Char (SYSDATE,'MM-DD-YYYY HH24:MI:SS') "now" from dual; 阅读全文

posted @ 2009-06-22 19:25 闫景荣 阅读(1001) 评论(0) 推荐(0)

2009年6月21日

摘要: jar xvf *.war 即可解压 阅读全文

posted @ 2009-06-21 19:57 闫景荣 阅读(4072) 评论(0) 推荐(0)

2009年6月18日

摘要: alter table *****(table_name) modifycol_name***(varchar(50) null) 阅读全文

posted @ 2009-06-18 17:03 闫景荣 阅读(189) 评论(0) 推荐(0)

2009年5月3日

摘要: 方法1: 打开“注册表编辑器”,找到[HKEY_LOCAL_ MACHINE\SOFTWARE\Microsoft\Active Setup\ Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}],将IsInstalled的DWORD值改为0,之后重启电脑就可以了。 方法2: 放入Windows XP安装盘,在“开始→运行”窗口... 阅读全文

posted @ 2009-05-03 15:40 闫景荣 阅读(2171) 评论(0) 推荐(0)