登录
首页 » SQL Server » 一、实验目的 1)理解视图的概念。 2)掌握创建视图的方法。 3)掌握更改视图的方法。 4)掌握用视图管理数据的方法。 二、实验内容 3...

一、实验目的 1)理解视图的概念。 2)掌握创建视图的方法。 3)掌握更改视图的方法。 4)掌握用视图管理数据的方法。 二、实验内容 3...

于 2023-09-08 发布 文件大小:196.01 kB
0 249
下载积分: 2 下载次数: 1

代码说明:

一、实验目的 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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Solution_of_homeworks_of-Database_Management_Syste
    《数据库管理系统》一书习题的参考答案,配合书本使用相当方便!(Solutions to Database Management Systems)
    2010-12-16 01:10:14下载
    积分:1
  • this is what I do before a customer management system. Pack containing the sourc...
    这个是我以前做的一个客户管理系统.包内已经含有源码和所用到的控件.代码是用VB写的,数据库采用MSSQL的.-this is what I do before a customer management system. Pack containing the source code and has been used by the controller. The code is VB write, the database using MSSQL.
    2023-08-13 13:25:02下载
    积分:1
  • 微软SQL Server 2005内:T
    Inside Microsoft SQL Server 2005: T-SQL Programming。-Inside Microsoft SQL Server 2005: T-SQL Programming.
    2022-03-15 16:45:36下载
    积分:1
  • pb作的库存系统,有基本的功能包括人员信息,库存信息,客商信息的管理等,简单实用,适合学习者使用。...
    pb作的库存系统,有基本的功能包括人员信息,库存信息,客商信息的管理等,简单实用,适合学习者使用。-pb for the inventory system, a basic functions including personnel information, inventory information, merchants such as information management, simple and practical, suitable for learners use.
    2022-10-02 04:50:03下载
    积分:1
  • SQL_notes
    More SQL notes from College.
    2013-03-19 17:45:37下载
    积分:1
  • 刚刚学习jdbc数据库,用jcreator编了一个小数据库,还可以,通过了。 功能:能够进行添加数据、修改数据、查找数据、删除数据、还可以上下翻页! 注...
    刚刚学习jdbc数据库,用jcreator编了一个小数据库,还可以,通过了。 功能:能够进行添加数据、修改数据、查找数据、删除数据、还可以上下翻页! 注: 里面的东西还没有进行整理,多少还有一些凌乱。由于刚刚学,有些功能不知道,许多功能还是按照以前的知识进行写的,多少显得笨拙!但也是一种解决的方法,可供初学者 参考。 说明文档--给初学者 1、首先把数据库文件加入到SQLSERVER数据库中DATA路径下, 2、在SQL SERVER中:右键选中数据库/所有任务/附加数据库/找到需要附加数据库的路径 注意在这一步中,应该都是对号,否则就要检查是否文件名一致的问题 3、在管理工具/ODBC数据源管理器/系统DSN/添加SQLSERVER数据源/ 记住:在这一步中数据源起名是OO,本机服务器是(local),要更改默认的数据库为clientregister. -just learning jdbc database jcreator series with a small database, can also adopted. Function : to add new data, modify data, search data, delete data, but also from top to bottom flip! Note : The stuff inside has yet to be collated, there was some chaos. Just because school, some of them do not know, or many of the features found in the knowledge of writing, the number is stupid! But it is also a solution, available for advanced users. Documentation-- for a beginner, first of all database files into the database SQLSERVER DATA trails, 2, in SQL SERVER : Right-selected database/all tasks
    2022-11-11 22:15:02下载
    积分:1
  • RetiraAcentos
    Function in SQL that remove special chars from a string. Can be used with others SQL comands.
    2013-10-10 04:56:37下载
    积分:1
  • pSQL——一个MySQL数据库管理的文件
    PSQL是管理MySQL数据库的工具。它仅包含一个文件,使得它很容易安装目前它仍然在发展,您可以:创建数据库查看数据库中的表查看表结构查看数据表创建新的表(带可视化编辑器)插入数据(需要您使用查询)还未完成:表选项(降,截断前。)插入数据(使用可视化编辑器)问题(需要修复)只能执行每个SQL查询窗口的一个语句不能从SQL窗口中选择,因为只有一个查询bug数据库。
    2023-06-17 04:20:04下载
    积分:1
  • SQL Server中的文件
    ----crear archivos.mdf.ldf和ndf
    2022-08-14 18:06:21下载
    积分:1
  • 《数据库设计》课程设计 一、 设计目的 数据库设计是一门应用性很强的学科,在学习时必须使理论与实践相结合。课程设计的目的是通过实践使同学们经历到一次综合训练,以...
    《数据库设计》课程设计 一、 设计目的 数据库设计是一门应用性很强的学科,在学习时必须使理论与实践相结合。课程设计的目的是通过实践使同学们经历到一次综合训练,以便能较全面地理解、掌握和综合运用所学的知识。 二、 设计任务与要求 (1) 对实际系统进行分析,写出需求分析说明(数据需求和事务需求)。 (2) 概念结构设计 说明本数据库将反映的现实世界中的实体、属性和它们之间的关系等(E-R图,可以用基本E-R图或扩展E-R图)。 (3) 逻辑结构设计 将概念结构映射为数据库全局逻辑结构(关系模型),包括所确定的关键字和属性、重新确定的记录结构和所建立的各个表文件之间的相互关系。 三、 设计环境与工具 要求使用辅助设计工具,如Power Designer或者ERWin等,转换为:SQL Server、Access或其它的DBMS数据库(不作统一要求)。 四、 设计步骤 参考《数据库设计实例指导书》 五、 设计题 教材P58面:3.8课程设计A、B、C任选一题 六、 设计成果 设计结果以书面形式于17周交付。 七、 成绩评定 (1) 独立完成 (2) 文档完整 (3) 满足用户需求 这是研究生数据库课程设计-"Database Design," a course design, and designed to database design is an application-oriented subjects, the study of theory must be integrated with practice. Curriculum design is through practice so that the students experienced a comprehensive training, in order to give a more comprehensive understanding and comprehensive use of the knowledge acquired. Two, design tasks and requirements (1) to the actual system analysis and write demand analysis (data needs and services deman
    2022-12-26 20:25:03下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载