Hi, I've been trying to think of a way to do this (just conceptually). I have a rather large table of price quotes from suppliers with columns:
line_number (primary key) | quote_id_number | item_code | quantity
i'm using an msdn sql server and access 2002. the line_numbers are just an assigned number to give the row a unique identifier, a sample of the table might be
the numbers just refer to unique identifiers in other tables with longer information that gets repeated a lot in an attempt to reduce network transfer and storage space. what i want to do is copy the last two columns with a number 2 in the second column, and assign them a 3 for that column. I'm likely to be working with several hundred rows each time I run this, although it won't be a commonly run operation.
Should I use ADO and copy the records individually? Not too familiar with ado yet but i could work with it. Anyone have ideas as to what might be the most efficient strategy?
line_number (primary key) | quote_id_number | item_code | quantity
i'm using an msdn sql server and access 2002. the line_numbers are just an assigned number to give the row a unique identifier, a sample of the table might be
Code:
1 1 2 500
15 1 4 5
147 2 977 1
24 1 782 1
278 2 1 2
2962 2 4 10
the numbers just refer to unique identifiers in other tables with longer information that gets repeated a lot in an attempt to reduce network transfer and storage space. what i want to do is copy the last two columns with a number 2 in the second column, and assign them a 3 for that column. I'm likely to be working with several hundred rows each time I run this, although it won't be a commonly run operation.
Should I use ADO and copy the records individually? Not too familiar with ado yet but i could work with it. Anyone have ideas as to what might be the most efficient strategy?
Last edited: