Opening SQLite database to write; String ERROR.

0 Joey Bananas · June 1, 2015
Declaration:
public static final String DATABASE_TABLE = "clientTable";

ERROR from:
db.execSQL("DROP TABLE IF EXISTS " = + DATABASE_TABLE);

ERROR:
Operator '+' cannot be applied to java.lang.String

###############################

Make int? set DATABASE_TABLE to some int value?

Post a Reply

Replies

Oldest  Newest  Rating
0 Joey Bananas · June 2, 2015
Thanks for your help bro!
  • 1

Java / Android Development

106,931 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator