Rexolio
Technical User
- Aug 29, 2001
- 230
I have 2 books...SQL for Dummies and Active Server Pages Bible..so far both are great. However, I have a problem with inserting new records from my web site via a registration form to a table in my SQL database. I use a similar ADO insert script for another part of my site, and it inserts very quickly. But this one has a problem and seems to take between 10 and 30 seconds to insert. I've tried everything and used this site to try and figure out what it is. I can't isolate it to any one thing.
My ASP Bible says to create a stored procedure and then use it from my web site to utilize it. SQL for Dummies doesn't tell me anything and the ASP Bible book says to refer to SQL documentation.
My question: can someone give me an example of a script, include connection and close, that will insert from a web site form to a SQL database via a stored procedure? I have the stored procedure created already. I've tried creating a script...but it keeps saying that I'm not using the right parameters (@FirstName_1)...the actual form field name and table field name is simply FirstName. The name @FirstName_1 was the name given my the Create Stored Procedure Wizard.
Thanks in advance!
My ASP Bible says to create a stored procedure and then use it from my web site to utilize it. SQL for Dummies doesn't tell me anything and the ASP Bible book says to refer to SQL documentation.
My question: can someone give me an example of a script, include connection and close, that will insert from a web site form to a SQL database via a stored procedure? I have the stored procedure created already. I've tried creating a script...but it keeps saying that I'm not using the right parameters (@FirstName_1)...the actual form field name and table field name is simply FirstName. The name @FirstName_1 was the name given my the Create Stored Procedure Wizard.
Thanks in advance!