jeudi 27 août 2015

Does it matter if i write "INTEGER" or "int" in sql command inside java?[sqlite]

When i execute sql commands, i.e. create table inside java code, does it matter if i write :

db.execSQL("create table mytable ("
                    + "scores int, "
                    + ");");
        }

Or this:

db.execSQL("create table mytable ("
                        + "scores INTEGER,"
                        + ");");
            }

Or it is both same thing, just different syntax?

Aucun commentaire:

Enregistrer un commentaire