Stored Procedure Question

Jason S posted at 03-Jul-08 09:37
I have a stored procedure that contains 60+ queries and about half of them are calculations that are 96 columns each.  I was wondering what would be the best way to speed up the stored procedure?  I do have one parameter for all of the queries but when the stored procedure hits the calculations, the process takes forever.  Should I build that calculations in their own stored procedure and reference the stored procedure in my main stored procedure?????  Lines of code is only around 1500 right now.  Thanks in advance for assitance.  Jason

Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Stored Procedure Question - Jason S  03-Jul-08 09:37 9:37:50 AM
      solution to sp - Umapathy Kaliaperumal  03-Jul-08 09:51 9:51:04 AM
          thanks but one more question - Jason S  03-Jul-08 10:15 10:15:52 AM
              sp within sp - Partha Mandayam  03-Jul-08 10:19 10:19:25 AM
              solution to sp - Umapathy Kaliaperumal  03-Jul-08 11:09 11:09:02 AM
          or would a function work better - Jason S  03-Jul-08 10:19 10:19:02 AM
              sol - Umapathy Kaliaperumal  03-Jul-08 11:17 11:17:20 AM
      Check this link - santhosh kumar  04-Jul-08 02:06 2:06:21 AM
View Posts