locked
Insert the primary key at other field too while inserting a new row RRS feed

  • Question

  • HI There,

    I have a table which has another column B which should be unique too.

    Now, While I am inserting from the interface(MVC 3), I have no option to insert the value on column B.

    While I insert a new transaction , lets suppose A is the primary key column.

    I want to add the value of A,i.e. primary key value of that new row to the filed B also.


    Can I do it in a single process?

    Please let me know


    ............................................................

    Monday, September 17, 2012 11:32 PM