It is not working. I created a function, but i cannot do select getdate() on it. This function needs to be invoked like a stored procedure. Any other way ?...
Thanks. Do you think I can create a function called getdate(), which will overrule the sytemwide getdate() function. Or will my instance crash, when I compile it?