![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Oracle
文章平均质量分 73
qq_35978699
这个作者很懒,什么都没留下…
展开
-
数据更新sql server
select * from Table_1 ;select * from Table_2;select b.name,b.salary from Table_1 a inner join Table_2 b on a.id=b.id;--更新一条数据update Table_1 set salary=(select salary from Table_2 where id='1') where id='1';--A表数据更新到B表(*更新多条)update Table_1 SET T...原创 2020-06-30 11:34:59 · 85 阅读 · 0 评论 -
update set from 语句用法
关键字: update set from下面是这样一个例子:两个表a、b,想使b中的memo字段值等于a表中对应id的name值 表a:id, name 1 王 2 李 3 张 表b:id,ClientName 1 2 3 (MS SQL Server)语句:u...原创 2020-06-30 10:11:20 · 1968 阅读 · 0 评论 -
怎样卸载干净Oracle
1.关闭oracle所有的服务。可以在windows的服务管理器中关闭; 2.打开注册表:regedit 打开路径: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ 删除该路径下的所有以oracle开始的服务名称,这个键是标识Oracle在windows下注册的各种服务! 3.打开注册表转载 2016-10-07 04:06:43 · 791 阅读 · 0 评论 -
怎么生成一个c0001~c9999的ID
----------序列--创建一个序列 seq_test 起始值为1000 最大值为1004 步长为1 不循环 缓存为20的序列create sequence seq_test start with 1000 maxvalue 1004 increment by 1 nocycle cache 20;---使用数据字典select * from user_sequenc原创 2016-10-07 18:00:45 · 741 阅读 · 0 评论