![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Oracle知识
文章平均质量分 77
lzh3521
这个作者很懒,什么都没留下…
展开
-
精妙Sql语句
1. 判断a表中有而b表中没有的记录select a.* from tbl1 aleft join tbl2 bon a.key = b.keywhere b.key is null 虽然使用in也可以实现,但是这种方法的效率更高一些2. 新建一个与某个表相同结构的表select * into bfrom a where 1<>...2010-03-15 23:54:13 · 75 阅读 · 0 评论 -
Oracle 10g em无法登陆的问题 .
在windows 2003 /xp里装上oracle 10g后,访问Enterprise Manager Control:http://localhost:5500/em,输入机器帐户的用户名和密码后出现如下错误:RemoteOperationException: ERROR: Wrong password for user这个是因为所用的帐户没有“作为批处理作业登陆”的权限只要在...原创 2012-05-24 17:19:43 · 251 阅读 · 0 评论 -
创建表之前判断表是否存在,如果存在则删除已有表
在sqlserver中,创建表之前判断表是否存在,如果存在则删除已有表----SQL-Server if exists (select 1 from sysobjects where id = object_id('EMP') and type = 'U') drop table S_Evalu...原创 2013-03-08 14:14:49 · 4151 阅读 · 0 评论