1 / 3

数据库操作 : 1. 建立数据库 “ 人才档案 .dbc ” 。 2. 添入 rcda.DBF 、 CJDA.DBF 、 ZYTC.DBF 三个表 .

数据库操作 : 1. 建立数据库 “ 人才档案 .dbc ” 。 2. 添入 rcda.DBF 、 CJDA.DBF 、 ZYTC.DBF 三个表 . 3. 将 rcda 和 cjda 两个表按编号建立索引,以 rcda 为父表, cjda 为子表为这两个表建立永久性联系。 4. 设置 RCDA 表中 “ 性别 ” 字段的默认值为: “ 男 “ 。. 5. 为 RCDA 表的 “ 工资现状 ” 字段建立有效性规则:工资现状 >=0 ,否则提示信息: “ 工资必须大于等于零 ” 。. 6. 为 RCDA 表添加一个字段:联系方式 C(15) 。

leroy
Download Presentation

数据库操作 : 1. 建立数据库 “ 人才档案 .dbc ” 。 2. 添入 rcda.DBF 、 CJDA.DBF 、 ZYTC.DBF 三个表 .

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 数据库操作: 1. 建立数据库“人才档案.dbc”。 2.添入rcda.DBF、CJDA.DBF、ZYTC.DBF三个表. 3.将rcda和cjda两个表按编号建立索引,以rcda为父表,cjda为子表为这两个表建立永久性联系。 4.设置RCDA表中“性别”字段的默认值为:“男“。

  2. 5.为RCDA表的“工资现状”字段建立有效性规则:工资现状>=0,否则提示信息:“工资必须大于等于零”。5.为RCDA表的“工资现状”字段建立有效性规则:工资现状>=0,否则提示信息:“工资必须大于等于零”。 6.为RCDA表添加一个字段:联系方式 C(15)。 7.建立一个名为“男职工”的查询文件,从RCDA表中查询男职工信息(rcda表全部字段),按编号升序存入新表new.dbf。

  3. 8.建立视图NEW_VIEW:视图中包括RCDA中除照片和工作简历之外的全部字段(字段顺序和RCDA.dbf一样)的全部记录,记录按编号降序排列。8.建立视图NEW_VIEW:视图中包括RCDA中除照片和工作简历之外的全部字段(字段顺序和RCDA.dbf一样)的全部记录,记录按编号降序排列。

More Related