• Without seeing the code not much we can do to help. It is possible that you are experiencing parameter sniffing.

    Please read the first two articles I reference in my signature block below. Following the instructions in those articles will help you get much better help.