inserting data into multiple tables

  • i'm trying to create new user in my application. Data would be enter in sql server 2000.

    personal info of that user would be in one table while login info would be in separate table.these are present on a single web form. Also in both tables; userId is present and these are related with each other through it, if one is entered other should be automatically inserted. now i'm confused how to insert this data?

  • You can use "INSTEAD OF TRIGGER" on the main table & insert the data in both the tables.

     

     

    ------------
    Prakash Sawant

    http://psawant.blogspot.com

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply