I have a custom attribute of a product, that I want to have it's value stored in sales_order_items. I have added an extra column in the table sales_order_items. But How can I store the value of that custom attribute into this extra column in sales_order_items?
You need to create custom order attribute for it. And then programmatically assign value for it.
You can follow given thread to create order attribute.