ORACLE__UPDATE_语句.docVIP

  • 6
  • 0
  • 约5.04千字
  • 约 5页
  • 2016-09-24 发布于重庆
  • 举报
ORACLE__UPDATE_语句

ORACLE_UPDATE 语句Update 语句 Update 语句用于修改表中的数据。 语法:UPDATE 表名称 SET 列名称 = 新值 WHERE 列名称 = 某值为了方便起见,建立了以下简单模型,和构造了部分测试数据: ??在某个业务受理子系统BSS中, ??--客户资料表 ??create table customers ??( ?? customer_id?? number(8)????not null,??-- 客户标示 ?? city_name???? varchar2(10) not null,??-- 所在城市 ?? customer_type char(2)??????not null,??-- 客户类型 ?? ... ??) ??create unique index PK_customers on customers (customer_id) ??由于某些原因,客户所在城市这个信息并不什么准确,但是在 ??客户服务部的CRM子系统中,通过主动服务获取了部分客户20%的所在 ??城市等准确信息,于是你将该部分信息提取至一张临时表中: ??create table tmp_cust_city ??( ?? customer_id????number(8) not null, ?? citye_name???? varchar2(10) not null,

文档评论(0)

1亿VIP精品文档

相关文档