All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
C#教程:网络编程介绍
asp.net2.0内置Application对象的方法
Visual C++中面向对象程序设计特征
完全讲解PHP+MySQL的分页显示示例分析_php资料_编程技术
一步步教你配置SQL SERVER合并复制(一)概念介绍_[SQL Server教程]
XHTML代码的基本应用_[Html教程]
asp.net2.0动态加载主题
ASP.NET Remoting概述与实例
如何加快数据库查询速度-_[SQL Server教程]
SQL,标量值函数的调用_mssql学习_编程技术
Reading number is top 10 pictures
这酸爽,让人不敢相信
So beauty, will let you spray blood1
Play for Free show breast in a world of ice and snow
Fan bingbing black wings for platform and DanLuoWang believes beauty1
运动的范冰冰2
A man's favorite things4
Photographed the passion of the clients and prostitutes in the sex trade picture1
So beauty, will let you spray blood5
Street street fighting
Breasts woman big set 1
Download software ranking
电脑知识及技巧大合集
传奇私服架设教程
Adobe Flash Player(IE) 10.0.32.18 浏览器专用的FLASH插件
Tram sex maniac 2 (H) rar bag15
matrix2
Boxer's Top ten classic battle4
Tram sex maniac 2 (H) rar bag16
变速齿轮3.26
C#编程思想
Unix video tutorial8
delv published in(发表于) 2013/12/30 4:38:08 Edit(编辑)
SQL,标量值函数的调用_mssql学习_编程技术

SQL,标量值函数的调用_mssql学习_编程技术

SQL 标量值函数的调用_mssql学习_编程技术-你的首页-uuhomepage.com
调用 MS SQL 标量值函数,应该在函数前面加上 "dbo.",否则会报 “不是可以识别的 内置函数名称”错误。例如
DECLARE @WhichDB TINYINT;
SELECT @WhichDB = user_GetWhichDB(1);--看看是哪个数据库的
=================================================
--标量值函数
ALTER FUNCTION [dbo].[user_GetWhichDB]
(
@UserId INT = 0
)
RETURNS TINYINT
WITH EXECUTE AS CALLER
AS
BEGIN
DECLARE @WhichDB TINYINT;
SET @WhichDB = 1;
IF @UserId >= 115098
SET @WhichDB = 2;
RETURN (@WhichDB);
END




添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.