I have at least 65 VARCHAR columns in Table A that I would have to resize from X bytes to X char. I was hoping to find a simpler way than issue ALTER TABLE A MODIFY.. command 65 times.
Can anyone please help me out how I can do this is a faster way?
You can write a bit of dynamic SQL. Assuming that the table is in the current schema
Which you can see working below