Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
I am new to SQL server 2000.
I have 2 tables both of which contain a field called COMPID.
I am using vbscript in Asp, to update one table using the value from the other.The COMPID is primary key and Autonumber in the first table.In the seocnd one it is not autonumbered.
Since the script doesn't know what the COMPID will be since it is autonumber,I want to knwo whether it is possible to use it to update the second table COMPID field with the same value.
Appreciate any help regarding this.
Thanks,
Shalu.
I am new to SQL server 2000.
I have 2 tables both of which contain a field called COMPID.
I am using vbscript in Asp, to update one table using the value from the other.The COMPID is primary key and Autonumber in the first table.In the seocnd one it is not autonumbered.
Since the script doesn't know what the COMPID will be since it is autonumber,I want to knwo whether it is possible to use it to update the second table COMPID field with the same value.
Appreciate any help regarding this.
Thanks,
Shalu.