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 |
|
olibara
Yak Posting Veteran
94 Posts |
Posted - 2010-06-23 : 06:34:45
|
| HelloWhe have a sored procedur that run fast when Invoked by SQL Management studioBut when we invoke it frm C# it is about 10 times slower !!What can cause this ?Thank for your help |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2010-06-23 : 06:51:23
|
For example it is possible that there is an index on your table.The indexed column is of type varchar.Maybe your C# is sending a parameter as Nvarchar so the index can't be used because convert. No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
olibara
Yak Posting Veteran
94 Posts |
Posted - 2010-06-24 : 07:28:19
|
| Thank you webfred I'll investigate that |
 |
|
|
|
|
|