Question : SQL Server function to call the excel function gammaln

I have found the following stored procedures that seem to be what I need, but can not seem to get them to work.  
Exec sp_OACreate
Exec sp_OAMethod
Exec sp_OADestroy

I ran the following and have this working:
sp_configure 'show advanced options', 1; RECONFIGURE;
sp_configure 'Ole Automation Procedures', 1; RECONFIGURE;


What can I do to execute the excel gammaln function from sql server 2008 and return to a float variable?

Answer : SQL Server function to call the excel function gammaln

It's not considered "bad practice". As for performance, it wouldn't be much different than having a single RAID-1 with multiple partitions. The only drawback comes from trying to write data to partitions located on the same drive(s) simultaneously.
Random Solutions  
 
programming4us programming4us