![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
sql
thmjff
这个作者很懒,什么都没留下…
展开
-
JDBC数据库连接大全
导读: 1、Oracle8/8i/9i数据库(thin模式) Class.forName("oracle.jdbc.driver.OracleDriver").newInstance(); String url="jdbc:oracle:thin:@localhost:1521:orcl"; //orcl为数据库的SID String user="test"; String转载 2008-01-17 15:16:00 · 382 阅读 · 0 评论 -
删除重复数据的几个方法
导读: 1。用rowid方法 据据oracle带的rowid属性,进行判断,是否存在重复,语句如下: 查数据: select * from table1 a where rowid !=(select max(rowid) from table1 b where a.name1=b.name1 and a.name2=b.name2......) 删数据: delete转载 2008-01-17 15:28:00 · 393 阅读 · 0 评论