摘要: 1. 返回标量数据的函数用户定义函数接受零个或更多的输入参数,并返回单值。一些用户定义函数返回单个的标量数据值,如 int、char 或 decimal 值。例如,下面的语句创建一个返回 decimal 的简单函数:CREATE FUNCTION CubicVolume-- Input dimensions in centimeters. (@CubeLength decimal(4,1), @CubeWidth decimal(4,1), @CubeHeight decimal(4,1) )RETURNS decimal(12,3) -- Cubic Centimeters.ASBEGIN. 阅读全文
posted @ 2010-03-24 09:01 delphi中间件 阅读(396) 评论(0) 推荐(0)