Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2003
    Location
    Israel
    Posts
    41

    Unanswered: Passing data to SQL Server

    How to pass big set of data from ASP to SQL Server stored procedure (for example 30 rows and 5 columns - content of html table) ?

  2. #2
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Stored procedures cannot accept recordsets as parameters, so you will need to pass the data to the procedure one record at a time.

    Another alternative is to insert your data into a staging table. Then your application either calls the stored procedure or you create a scheduled job that calls the stored procedure. The procedure checks the staging table for records and processes them as a set.

    blindman

  3. #3
    Join Date
    Nov 2003
    Location
    Israel
    Posts
    41
    What about XML?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •