Hello,
I have an asp page that talks to my sql server 2000 db. I use it to create accounts on my custom system. I was looking for some ideas on how to re-write this code to put less load on my sql db.
Here is how it works:
1) asp form that captures username and password.
2) user clicks submit, I make the username a session variable and write to to a table. I have a template table that has 500 records. I update the template tables username field with the session variable (person who just joined) then append that template table into a master table that is linked to the user table (table i wrote to first). This process works great however the load on the sql server is high. I can't change the db design or anything about creating the 500 records in the master table but i was wondering if there was a better way to do this in asp code (array or something) that would put more strain on the web server verses the sql processes. Any ideas or methodolgies would be helpful. Like the template table may be a horrible way to do this or so inefficient but i am new to this and do not really no that...
best regards,
aspnet98
I have an asp page that talks to my sql server 2000 db. I use it to create accounts on my custom system. I was looking for some ideas on how to re-write this code to put less load on my sql db.
Here is how it works:
1) asp form that captures username and password.
2) user clicks submit, I make the username a session variable and write to to a table. I have a template table that has 500 records. I update the template tables username field with the session variable (person who just joined) then append that template table into a master table that is linked to the user table (table i wrote to first). This process works great however the load on the sql server is high. I can't change the db design or anything about creating the 500 records in the master table but i was wondering if there was a better way to do this in asp code (array or something) that would put more strain on the web server verses the sql processes. Any ideas or methodolgies would be helpful. Like the template table may be a horrible way to do this or so inefficient but i am new to this and do not really no that...
best regards,
aspnet98