Add columns dynamically based on a condition in SQL
I'm using SSMS 2012. Consider a table A with columns A, B, C. I would like to dynamically add a new column, D to this table based on a condition in one of the existing columns. How can this be achieved?
Aucun commentaire:
Enregistrer un commentaire