Hi
Just a quick question on Stored Procedures in SQL Server 2008
I have written a basic stored procedure to write records to a temporary table
When I execute it from the SQL Server Management Studio it runs 100% and reads and writes 68 records
However, when I execute it from outside in another program it only reads and writes 13 records
I have tried on several computers and the same
I don't think its a text size issue but possibly something with the cursor or time - its a very simple procedure that takes less than a second within the Management Studio
Are there any settings I should set to overcome this - I think its something really simple I'm overlooking
Any suggestions would be welcome
Thanks
Martin