Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 July 28th, 2004, 02:08 AM
Authorized User
 
Join Date: Dec 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sasidhar79
Default creating a table and inserting rows.

Hi,

I am facing a problem with respect to the following task...

I have to port data from 4 recordsets to a single table,

the 3rd and 4th recordsets hold row wise data which had to go into columns in the target table , ie., i need to move partly a row wise data to the column level in the target table.

the target table's structure varies dynamically.

please help me


thanks,
Sasidhar
__________________
thanks,
Sasidhar
 
Old July 28th, 2004, 02:32 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello,

  You can have loop thru target table fields using

rsTarget.fields.count property and loop thru that and insert data on conditional basis.

. For that one more recordset is needed(temporary)



 
Old July 28th, 2004, 03:09 AM
Authorized User
 
Join Date: Dec 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sasidhar79
Default

thank u very much will try and get back to you

thanks,
Sasidhar





Similar Threads
Thread Thread Starter Forum Replies Last Post
Gridview and inserting rows thewoodchuck BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 0 April 10th, 2008 09:55 AM
Passing and Inserting mutliple rows at once SQLScott SQL Server 2005 4 February 12th, 2007 11:10 AM
SQL server Inserting duplicate rows. shaileshmark SQL Server 2000 6 December 14th, 2006 11:09 PM
Inserting mulitible rows in one table at one time mohanrajb Classic ASP Databases 1 June 21st, 2005 10:09 AM
Problem while inserting rows!! raman1 PHP Databases 0 April 16th, 2005 12:03 AM





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