2013年12月31日
摘要: ylbtech-SQL Server: SQL Server-SQL 索引(Index)SQL 索引(Index)。ylb:索引(Index) 返回顶部--================================-- ylb:索引的创建与管理-- 9:34 2011/12/15--================================use pubsgo--1,创建索引--P1:为图书表的书名添加索引create index I_Titles_Title on titles(title)go--2,撤销索引--2_1,方式一ver=2008drop index I_Title 阅读全文
posted @ 2013-12-31 11:29 ylbtech 阅读(337) 评论(2) 推荐(0) 编辑
摘要: ylbtech-SQL Server: SQL Server-SQL 存储过程(Procedure)1,存储过程(Procedure)-基本创建与操作2,存储过程(Procedure)-入参3,存储过程(Procedure)-带入参和出参ylb:1,存储过程(Procedure)-基本创建与操作 返回顶部--================================-- ylb:存储过程创建与操作--================================use pubsgo--一、无参存储过程--1,创建存储过程create procedure PTitlesasselect 阅读全文
posted @ 2013-12-31 11:16 ylbtech 阅读(733) 评论(0) 推荐(0) 编辑
摘要: ylbtech-SQL Server: SQL Server-SQL 视图(View)基础SQL 视图(View)基础。1,ylb:视图(View)基础返回顶部-- =============================================-- ylb:“视图的基本创建于操作”-- 17:23 2011/12/13-- =============================================use pubsgo--1,创建一个视图create view VTitlesasselect * from titlesgo--2,查看“VTitles”视图,和查看表一 阅读全文
posted @ 2013-12-31 10:51 ylbtech 阅读(314) 评论(1) 推荐(0) 编辑