Does anyone see why I’m getting this error on this simple command?
alter table geno.genotypes add column run_date TYPE DATE;
ERROR: syntax error at or near “DATE”
LINE 1: alter table geno.genotypes add column run_date TYPE DATE;
^
I mean, how can TYPE DATE be wrong?
TIA…
Given this documentation, I don’t believe you should be including the
TYPEpart; that’s only when you’re altering a column (to show that you’re altering its type). Try this: