How do you set a default value in Table2, column 2 so that every time a new row is added to Table2, the last value from Table1, column1 is inserted into Table 2 for that new row just added.
Basically I am need to set the last PK incremented value from Table1, and set it as the default value as the FK for the last row in Table2 so that when I insert a add a row in Table 2 the default value for the record is set.
Thanks guys and gals,
gambhir
Basically I am need to set the last PK incremented value from Table1, and set it as the default value as the FK for the last row in Table2 so that when I insert a add a row in Table 2 the default value for the record is set.
Thanks guys and gals,
gambhir