I have a table containing columns
ID,
Variant (INT),
A1.....A20 (VARCHAR(16))
Can anyone recommend the best method to shift the data in columns starting from X to right, where X is the parameter and column Variant equals to Y (the second parameter).
So, I would appreciate any help on the Stored Procedure taking X and Y as parameters and shifting the data to the right in columns starting from Ax, where Variant equals Y.