Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
crazycat503
Starting Member
16 Posts |
Posted - 2012-12-26 : 04:32:42
|
Hi,I have a stored procedure that adds multiple rows it accepts at once. I call it from vb.net 2010 application. Now, for the same parameters, it inserts them just fine then the next time it gives error.I can't really gets behaviour cos there are times it would work for 4-5 consecutive calls then just gives errors for the same, same parameters.Am I missing something?All guys! |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-12-26 : 05:06:50
|
can you post whats the error message? also specify how you are calling it.------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
crazycat503
Starting Member
16 Posts |
Posted - 2012-12-27 : 03:56:49
|
it doesn't send an error message per say but rather it doesn't do anything. when the SP does nothing, it returns me the number -1 which is locally programmed to the sp. I just can't understand why it would work one minute then do nothing in the next call.The call is made from vb.net 2010 in the usually way through the command object. Actually, i have executed the script over and over directly from sql server and it doesn't return -1 at all but the pm are directly copied from vb.net 2010 with no alternation at all. THat is what lead me to think it must be SQL SERVER problem.All guys! |
|
|
bandi
Master Smack Fu Yak Hacker
2242 Posts |
Posted - 2012-12-27 : 04:43:59
|
Can you post that Stored Procedure once?--Chandu |
|
|
|
|
|