First I create my table with one text column in 5.6.34 - MySQL Community Server (GPL) like so :

```
CREATE TABLE `$_query_test`.`t1` ( c1 TEXT NOT NULL ) ENGINE = InnoDB;

```

Then I execute: 

```
SET @var = 321; INSERT INTO `t1` (c1) VALUES (@var);

```

I get one entry with a value of `321` as expected, but when i execute:

```
SET @var = '_string_';
ALTER TABLE `t1` ADD @var TEXT;

```

I get an error 

> 
> #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use
>  near '@var TEXT' at line 1
> 
> 
> 

What is the proper syntax to do something like this? I have searched far and wide and so far got nothing on this.