Skip to main content
November 27, 2023
Question

Another raw same as primary key

  • November 27, 2023
  • 3 replies
  • 0 views

Hi 

I want to save another column with value same as the primary key. how can i do that

Thanks

    3 replies

    stefanhelzle0001
    Brainy
    November 27, 2023

    Write the data, read it back, copy the value, write the update.

    stewart.burchell
    November 27, 2023

    Curious as to why you want to do this? A 3rd Normal Form database tries to remove duplicate data and what you're asking for moves away from that. What is it that this will give you that having the value only  as the primary key does not?

    konduruc733182
    November 27, 2023

    Hello thiliniu0001,

    Once your records are written, use the output from the records and run a script using update function and write the identifier values in the required columns. That would be the best way to do as per your requirement.