You will want to use SQL.


Something like this:


CREATE TABLE GEODATA (ID INTEGER, NAME VARCHAR(80), TYPE VARCHAR(80));


INSERT INTO GEODATA VALUES(1,'North America','continent');



On Monday, January 28, 2013 8:21:28 AM UTC-6, samuel wrote:
>
> I have a text file data . like Australia-country,america-country,North 
> America-continent and the data goes on to a large extent.
> i need to create database with three columns one for the the ID number,
> the other for names of the places , and other for the type of place
>
>
> it looks in this way
>
> ________________________
> |           |              |              |   
> |  1       | australia | country   | 
> |___ _ _|_______   |_______ | 
>
>
> i have this complete data in atext file.
> How to i insert the data from text file to database?
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to