pysome has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
Now ,i am lost in a MS-SQL store procedure and Perl program.
My DB server is MS-SQL,Other guys writed a soooooo long store procedure to perform some biz function.It spend about 3 hours every running! Now,I need to rewrite it by perl.I take a whole day to review the store procedure,it is 500 lines or so. It builds up about 20 #temp tables and then do some joining,selecting,updating,deleting...
My thought is :
1)To store enormous recoreds(tables) into my local DB Sqlite.
2)To store small records(talbes) into Memory.
3)Then execute other function,such as :select,delete,update,sum etc.
How about my method? Can anyone has approximate experience,pls give me a hand,TIX.
20070809 Janitored by Corion: Added formatting as per Writeup Formatting Tips
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Store Procedure or Perl program?
by perrin (Chancellor) on Aug 09, 2007 at 14:15 UTC | |
|
Re: Store Procedure or Perl program?
by jfroebe (Parson) on Aug 09, 2007 at 18:42 UTC | |
by pysome (Scribe) on Aug 10, 2007 at 02:23 UTC | |
by jfroebe (Parson) on Aug 14, 2007 at 15:53 UTC | |
by MelaOS (Beadle) on Aug 15, 2007 at 06:33 UTC |