Hi Rohit and thanks for your continued interest. By "direct link" I mean to have SQL Server and Mathematica link so that they directly pass data between them with no manual assistance. As I said in the OP I have c.150,000 records I need to perform a calculation on and therefore manually typing the data is not on!
What I would wish to do is to have SQL Server control the exercise because the resolved calculations will need to be held there. So in a perfect world I would instruct SQL Server to extract the data from the records, pass it to Mathematica to perform the calculations record by record, have Mathematica pass the resolved calculation back to SQL Server and then for SQL Server to insert the resolved calculation into the data table.
Once I have performed that on all archived records I then want to publish a website where visitors will be able to manually enter their own data into a webform and Mathematica perform it's calculation and print the result to the webpage.
The calculation is of probability. I currently have an Excel workbook that resolves the probability by way of a Monty Carlo Simulation but the processing time is too great to use that for 150,000 records so I would be looking to Mathematica to calculate the probability by way of a formula. Unfortunately I have been unable to hunt down the formula in an expanded form to enable me to code it but I know Mathematica has the necessary function. I did manage to find someone on here who said they could give me the formula but unfortunately before they could post it my post was taken down probably because it sought advice re the formula and not re the use of Mathematica. Therefore this post is solely to discover how to use Mathmatica within a website linked to an SQL Server database and not in anyway to obtain the formula (moderators please take note!).