Oracle中在pl/sql developer修改表的2种方法

时间:2024-01-20 13:06:35 

一、方式一

select * from student for update

student表需要操作人修改完commit之后才可以做其他的操作,否则该表会被锁住。

 

二、方式二
select t.*,t.rowid from student t

在pl/sql developer中右击某表,显示的就是该语句,这样做不会将该表锁住。

想修改某几个字段也没有问题select num,name,t.rowid from student t。

标签:developer,Oracle
0
投稿

猜你喜欢

  • python列表添加元素append(),extend(),insert(),+list的区别及说明

    2022-12-11 08:48:35
  • scrapy爬虫完整实例

    2021-06-08 09:34:26
  • 详解VScode 配置为 LaTeX 编辑器(IDE)

    2022-10-17 20:18:31
  • escape、encodeURI、encodeURIComponent等方法的区别比较

    2024-05-13 09:36:40
  • asp中的rs.open与conn.execute的区别说明

    2011-02-24 10:56:00
  • DSDS应用场景(高通5G)

    2022-06-18 05:08:44
  • MySql数据库捕获sql语句异常的方法

    2011-08-05 18:17:28
  • 基于python利用Pyecharts使高清图片导出并在PPT中动态展示

    2021-02-23 13:02:39
  • Python通过websocket与js客户端通信示例分析

    2021-03-23 08:35:49
  • ASP.NET MVC实现区域或城市选择

    2023-07-13 17:50:00
  • Python splitlines使用技巧

    2023-01-11 01:13:56
  • 关于matplotlib-legend 位置属性 loc 使用说明

    2021-12-19 06:48:25
  • Python3 读取Word文件方式

    2021-03-21 22:36:37
  • Python计算双重差分模型DID及其对应P值使用详解

    2022-08-06 21:07:53
  • Python 文档解析lxml库的使用详解

    2022-01-24 10:42:38
  • MySql创建分区的方法实例

    2024-01-23 22:17:40
  • django跳转页面传参的实现

    2022-01-23 00:56:55
  • pandas和spark dataframe互相转换实例详解

    2022-12-12 20:26:38
  • python3使用diagrams绘制架构图的步骤

    2022-08-27 12:42:34
  • python 使用plt画图,去除图片四周的白边方法

    2022-02-07 19:34:41
  • asp之家 网络编程 m.aspxhome.com