I am extremely sorry for this. I had done a EXEC
They are working fine. It happens you know, when in tight situation, getting the basic stuff wrong.
Anyway, as the point has come, what is the difference between a function and a stored procedure. Is it only compilation?
Chandrachurh Ghosh
DBA – MS SQL Server
Ericsson India Global Services Limited
Quality is not an act, it is a habit.