A simple UDF, that I need to return a date based on some info in my DB, I wanted this as a UDF, which I have written and tested in SQL Server, works fine.
What I can't do is get the DDT to deploy it. I know my issue lies in the first 2-3 lines, but I really don't know what it might want.
Can anyone send me a translation of how it should be put into the DDT?
thanks in advance
G.
UDF is as follows
CREATE
RETURNS
AS
BEGIN
DECLARE
SELECT
IF
ELSE
END
No need to respond. I had a brainwave and ran a profiler session to see what YOU send it. Once I had this, all I needed to add was (), as I have no parameters for this function.
sorry for the hassle.
best