jeudi 13 août 2015

SQLITE: How to create table as another table and set default value?

the code i use:

$query = "CREATE TABLE `new_form` as select * from `form`

but new_form can't have default value

like column ID can't auto_increment.

Aucun commentaire:

Enregistrer un commentaire