SQL
文章平均质量分 57
AmberChun
你只有赢过,才好意思说你不在乎
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
‘select...(select...)... from’ 和‘select...from...inner join... ’的区别
今天在看开发文档的时候发现下面一个形式的原创 2014-09-09 10:50:06 · 888 阅读 · 0 评论 -
表值函数和标值函数使用脚本范例
select * from authors --多语句表值函数 use pubs go create function fuc_authors () returns @table_author_temp table ( au_id smallint, ai_lname varchar(40) ) as begin insert into @table_author_tem原创 2014-09-11 11:05:25 · 412 阅读 · 0 评论 -
sp_addextendedproperty
sp_addextendedproperty 将新扩展属性添加到数据库对象中。 Transact-SQL 语法约定 语法 sp_addextendedproperty [ @name = ] { 'property_name' } [ , [ @value = ] { 'value' } [转载 2014-11-19 09:00:40 · 747 阅读 · 0 评论 -
使用游标时,加上只读只进选项
使用游标时,加上只读只进选项 declare c cursor for 这样的形式,那么这种游标要慢于下面这种方式。 declare c cursor local static read_only forward_only for… 所以,在游标只读只进的情况下,加上上面代原创 2014-11-22 16:07:19 · 1262 阅读 · 0 评论
分享