Hi,
I'm trying to add a field to a table, where the field is a variable. I keep getting a syntax error on the ALTER command line, because of the brackets no doubt, but I can't find the correct syntax and otherwise a field called "cName" is added:
PUBLIC cName AS char (20)
cName = xxx
SET PATH TO . . . \data
ALTER TABLE myTable ADD COLUMN (cName)
Any help greatly appreciated,
Cheers,
Blair
I'm trying to add a field to a table, where the field is a variable. I keep getting a syntax error on the ALTER command line, because of the brackets no doubt, but I can't find the correct syntax and otherwise a field called "cName" is added:
PUBLIC cName AS char (20)
cName = xxx
SET PATH TO . . . \data
ALTER TABLE myTable ADD COLUMN (cName)
Any help greatly appreciated,
Cheers,
Blair