-
一、实验目的
1)理解视图的概念。
2)掌握创建视图的方法。
3)掌握更改视图的方法。
4)掌握用视图管理数据的方法。
二、实验内容
3...
一、实验目的
1)理解视图的概念。
2)掌握创建视图的方法。
3)掌握更改视图的方法。
4)掌握用视图管理数据的方法。
二、实验内容
3、用T-SQL语言创建、管理视图 (以下题目需提交)
(1)创建视图
1)创建一个名为stuview2的水平视图,从数据库XSGL的student表中查询出性别为“男”的所有学生的资料。并在创建视图时使用with check option。(注:该子句用于强制视图上执行的所有修改语句必须符合由Select语句where中的条件。)
T-SQL语句为:
Create view stuview2
As
Select *
From student
Where sex= 男
-1, experimental purposes 1) understand the concept of view. 2) to master the method to create the view. 3) control to change the view method. 4) The master with the view of management data. Second, the contents of three experiments, using T-SQL language to create, manage view (the following topics should be submitted) (1) create a view of a) Create a file called stuview2 level view of the student table from the database query XSGL the gender as " male " All the students information. Used in the creation of the view with check option. (Note: This clause is used to force all the modifications performed on the view must be consistent with statements
- 2023-09-08 05:20:03下载
- 积分:1
-
数据库后台管理工具,针对MS SQL Server,创建数据库,备份恢复数据库,用户访问统计等功能,运行时需要修改Ydlogin.ini文件里的Server N...
数据库后台管理工具,针对MS SQL Server,创建数据库,备份恢复数据库,用户访问统计等功能,运行时需要修改Ydlogin.ini文件里的Server Name 为 SQL Server 服务器名。-background database management tool against MS SQL Server, database creation, database backup and recovery, user statistics and other functions, running Ydlogin.ini need to amend the documents in the Name Server to the SQL Server name.
- 2022-01-22 00:39:15下载
- 积分:1
-
实现表结构为 ID,Name,rootid,lft,rgt的树形结构的移动、删除等存储过程
实现表结构为 ID,Name,rootid,lft,rgt的树形结构的移动、删除等存储过程-Realize Table structure for ID, Name, rootid, lft, rgt of the tree structure of the mobile, delete, such as stored procedures
- 2022-07-06 20:38:26下载
- 积分:1
-
自己编的一个关于物流管理的数据库,在VC++写的,用的是SQL2000。...
自己编的一个关于物流管理的数据库,在VC++写的,用的是SQL2000。-own addendum to the one on the logistics management database in VC++ to write, using the SQL2000.
- 2022-01-24 16:26:31下载
- 积分:1
-
err
《SQL手册》中文版,详细介绍了SQL的很多语句和函数-err
- 2022-10-09 15:10:03下载
- 积分:1
-
用VC++ 6.0在SQL server中添加JPG格式图片
用VC++ 6.0在SQL server中添加JPG格式图片-With VC++ 6.0 in SQL server add JPG format picture
- 2022-01-26 04:43:09下载
- 积分:1
-
inquire
利用存储过程在在SQL-Server中查询数据库表,(inqu tables in SQL-Server)
- 2011-12-19 10:44:51下载
- 积分:1
-
train ticket sales system, including queries in the database, modify, add, diffe...
火车票的销售系统,包括对数据库的查询,修改,添加,不同的用户和管理员的登入有不同的功能模块-train ticket sales system, including queries in the database, modify, add, different users and administrators sign a different function modules
- 2022-02-14 20:38:48下载
- 积分:1
-
mcdba考试资料(70229)
SQL Server 2000数据库程序设计模拟题
mcdba考试资料(70229)
SQL Server 2000数据库程序设计模拟题-MCDBA exam information (70229) SQL Server 2000 database program design simulation title
- 2022-06-15 03:39:13下载
- 积分:1
-
仓库管理信息系统
DELPHI代码作的,有解释
仓库管理信息系统
DELPHI代码作的,有解释-Warehouse Management Information System for the DELPHI code, has explained
- 2022-01-28 21:29:08下载
- 积分:1