I am trying to alter column in redshift from varchar(30) to varchar(100) Its not working and throwing an error as below:
Command used:
alter table t_name alter column c1 type varchar(300);
Error:
[Amazon](500310) Invalid operation: ALTER TABLE ALTER COLUMN cannot run inside a transaction block; [SQL State=25001, DB Errorcode=500310]