Wrox Programmer Forums
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 29th, 2007, 12:03 PM
Registered User
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Stored Procedure Load


I need to insert values using stored procedure using array or loop. For example I have a table with 2 columns name and tel_number. The user will enter name and tel_number 1, tel_number_2....in the website and when he clicks submit button, should populated the table with name and tel_numbers. Some user may enter 2 tel_number others may enter 5. Need help on this to capture and insert data in to table....Please help
Old May 30th, 2007, 03:51 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post

You need to construct the INSERT statements for each tel_number available there and fire that on your sql server from the front end.

Is that the telephone numbers entered in the website are comma separated or entered into different text boxes?

- Vijay G
Strive for Perfection

Similar Threads
Thread Thread Starter Forum Replies Last Post
On Load: "Invalid Outside Procedure" kritimehrotra BOOK: Beginning Access 2003 VBA 3 March 1st, 2007 11:53 AM
stored procedure lokey VB How-To 7 June 30th, 2005 12:37 AM
Help About Stored Procedure zhuge6 BOOK: ASP.NET Website Programming Problem-Design-Solution 3 May 20th, 2005 09:27 AM
stored procedure kvanchi ADO.NET 1 December 9th, 2004 07:27 AM
Stored Procedure desireemm SQL Language 5 September 18th, 2004 02:34 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.