Reputation: 437
I need to create table column which contains data of type long, what am trying is to create column like this
+other columns
KEY_DATE_CREATED + " LONG OR something else**(DONT KNOW HOW TO DEFINE IT)**"
+other columns
what i'm trying to pass to that column is this below, which is from type long.
long dateM = Calendar.getInstance().getTimeInMillis();
tnx a lot!
Upvotes: 0
Views: 4853
Reputation: 246
An INTEGER column will handle long values.
From the SQLite site:
INTEGER. The value is a signed integer, stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of the value.
Upvotes: 2