How to import text data into sqlite? - objective-c

I am just beginner in iOS development.
I want to import three columns of text data into sqlite database.
Is there any sqlite management tool for mac?
Now i am using Lita management tool, But that's not include import function.
My text data are above 40000 with TAB separate file (TSV).
Can i import that tab separate file into sqlite in terminal?
Please advise me how can i do?

I use Base, and it does have an import feature. You can get it through the Mac App Store, here.

Search SQLite Manager in FireFox Add-ons and install it.
It's free.
There is a feature for import text and nice tool for SQLite. :)

Related

importing CSV from SAP R/3 to SQL database for reporting purpose

I want to import CSV files and invoices from SAP R/3 system into a SQL database. The database will be used for reporting purpose only, please tell me what will be the best possible way, which database to use and anything else that will be relevant to me in this context? and I am novice so please help....Thanks:)
If you are routinely importing CSV files then I recommend getting them comma delimited (or whatever delimiter you choose) and going the route of making an SSIS package with a corresponding SQL Agent Job that runs daily to check for the file and run it if it finds it.
Info on SSIS package creation:
http://smallbusiness.chron.com/import-csv-ssis-46849.html
If this is a one time load then I would recommend just using the import export wizard built into SQL Server.
https://msdn.microsoft.com/en-us/library/ms140052.aspx
Pretty easy to use the import export wizard too. Right click the database > tasks > import data. This will launch the wizard and will walk you through the one time import.
Adding Microsoft's official SSIS guide as well:
https://msdn.microsoft.com/en-us/library/ms169917.aspx

Load the entire Database from the webserver to IOS native app

I am developing a app where i need to keep the replica of entire database from the web server to the IOS native sq-lite database, How can i keep updated version of db or import at loading of the app in one go, What should be my approach to go with this problem, Any help would be really appreciated,
Thanks
Deepesh
Looks like this is a popular problem. According to this answer,
Not every DB schema can be converted. MySQL is more complex and feature-rich than SQLite. However, if your schema is simple enough, you could dump it into an SQL file and try to import it / load it into an SQLite DB.
To do this, you can either use this mysql2sqlite.sh script like so
./mysql2sqlite.sh myDbase | sqlite3 database.sqlite
or use this answer and simply do
mysqldump database > database.sql
sqlite3 database < database.sql

Exporting trac tickets to MS Project

I want to share data between Trac and MS Project. To import data to Trac I can use CSV import plugin, but I don't know if there's a way to export data from Trac to Project. Anyone has some ideas?
You can import data into MS Project from an Excel file. If you export data from Trac in CSV format, Excel should be able to convert it into an Excel file that can then be imported into Project. I haven't tried this myself, so YMMV.
If you don't mind writing a little code, you could use MPXJ to create either an MPX or an MSPDI (XML) file which you will be able to import into Microsoft Project.
Jon
p.s. Disclaimer: I maintain MPXJ.
you can contact Task Adapter developers to request a Trac connector. it's not worth it if you only need it for a one-off transfer. but it may make sense if you need this kind of tool on a regular basis.

S3DB editor program

i am trying to open a s3db database.
can someone please recommend a program?
i have tried sqlite2009pro, and it does not recognize it.
Sqlite Admin says Cannot perform this operation on a closed dataset.
sqlitestudio says s3db is not supported database-
Either:
Download Sqlite Administrator from http://sqliteadmin.orbmu2k.de/
Freeware
Portable
Bug in export "text format" (=wide string) data
Bug in view, edit and export non English data
Download Sqlite Studio from http://sqlitestudio.pl/ (RECOMMENDED)
Freeware
Portable
unable to export big dbases

How to import excel files into SqlDatabase .mdf file

I have one long excel sheet with books details of a library..can i import this data into a .mdf file.
Yes. Depends on SQL Server version you have installed (for exact instructions) but you use DTS (Data Transformation Services).
Right click on your database and you should see Import data. Wizard will do most of the work, basically it's a next next next operation.
You will need SQL Server Management Studio, and use its Import feature
http://msdn.microsoft.com/en-us/library/ms141209.aspx
Here is a step-by-step guide from the horse's mouth: http://support.microsoft.com/kb/321686