>By example, the use of (select getdate()) doesn't works in a user defined function? Why and how I can do otherwise? Is exists other way that use of date parameter?
The getdate() cannot be used in UDF because it is non-deterministic function. What do you need it for in UDF?
--sb--