Possible Duplicate:
Migrate normal sqlite3 database to core data?
Is it possible to load an existing sqlite db into core data? I'm facing troubles, Actually in the core data sample I found that it contains a db which is with z prefix to table name, and other attributes. What's the significance of that z? Also I saw in this blog http://ablogontech.wordpress.com/2009/07/13/using-a-pre-populated-sqlite-database-with-core-data-on-iphone-os-3-0/ to create a db using core data and load it which is a work around but not the proper method to load data to core data. I need to do lot of updates and queries on the table, please suggest whether to use sqlite directly or core data? If its core data, please suggest the best way to import existing sqlite file to core data