free sqlite tools - iphone

looking for a free sqlite tool, any suggestions? I need a export, import functionality.
Thanks for the recommendation.

I love SQLite manager: https://addons.mozilla.org/en-US/firefox/addon/5817
Oddly enough, it's a firefox addon.

MS Excel or Access can be used to browse SQLite data, too
I spent all day looking for a Windows tool to browse/explore contents of SQLite and tested many of the ones listed on http://www.sqlite.org/cvstrac/wiki?p=ManagementTools . Some I like and will explore further but many I find lacking for they either require install of other frameworks (.Net XXX), are too big, slow browse of big tables, weird interface, (mis)handling of BLOBs, lack of import/export facilities.
I have no issue using SQL from command line but in many occasions i find it useful to examine the data in file browser/spreadsheet fashion (as in MS Excel or Access).
Here is another alternative: if you have either Access or Excel installed on your machine, get ODBC driver and connect to the SQLite DB that way. While MS Office ain't free, for many people it is already installed on the PC.
Important note when connecting from Access: i was getting "Reserved error -7778" when trying to link the SQLite tables in, so i was assuming SQLite ODBC just won't work with MSAccess. Not so, i found after a bit of digging. All one has to do is avoid using File Data Source (File / Get External Data / Link tables... / ODBC - and then instead the "File DS" tab, go to the "Machine DS").

I've used http://sqlitebrowser.sourceforge.net/ when I need to quickly browse/edit an sqlite database. There's a very long list of other such tools at http://www.sqlite.org/cvstrac/wiki?p=ManagementTools

SQLMaestro (http://www.sqlmaestro.com/products/sqlite/datawizard/) has a good range of bulk import/export with what looks like over 20 formats (but since I don't need bulk import/export, I haven't tried this program). Oops ... look like i missed the "FREE" part
I'm using the FREE Firefox plugin SQLite Manager (https://addons.mozilla.org/en-US/firefox/addon/5817) and it is really handy. It will handle a few import/export formats (CSV, SQL and XML)
SQLiteMan (http://www.sqliteman.com/) can import in half a dozen or so formats. Export doesn't seem obvious. Its free as well.
A few more FREE options (none of which I have tried include)
SQLite Administrator(http://sqliteadmin.orbmu2k.de/)
SQLiteStudio (http://sqlitestudio.one.pl/index.rvt)

I've used the Arca Database Browser with good results, available here: http://xtras.tabuleiro.com/download/arca.htm.

SQLite Maestro sounds like it meets your needs.

Probably
SQLiteMan
is about the best and most well known.
I personally like:
SQLite Administrator
as it's very small and lightweight, but does have it's quirks. However, there's a whole list of SQLite tools (both free, open source and commercial) here:
Commercial and freeware Sqlite tools list

Now i use Lita - SQLite Administration Tool
it's a free applications developed in Adobe Air.
the only thing that disturbs me is that it sorts the columns when you query.
Besides that it does what I want.

Related

How to bundle and read an SQLite database into Xcode 11.1?

I am a Swift newbie currently working on an IOS application, which needs to access an existing static database (size 400kb) of 1 table with about 3300 rows, and 26 columns. This database was initially a CSV file, converted into an SQLite file.
From forums I read online, it is to my understanding that SQLite queries are incredibly fast, and for that reason should be the preferred choice. I will only need to be reading the database and will not perform any writes.
I have found a number of old tutorials online which have utilized Objective-C or tutorials from several years ago which utilize swift 2 or 3. A newer solution I found was to use this SQLite wrapper: https://github.com/stephencelis/SQLite.swift. However, I am not entirely sure how to implement it. I was wondering if it was possible to read directly from my bundled database, or if I had to create a new table and copy from the bundled database.
It looks like SQLite.swift will get the job done for you. From the documentation on the page you linked it looks like you use Connection(pathToDB) to start using the library.
Since you're bundling the database and don't plan on modifying it you should be able to use Bundle.main.path(forResource:, ofType:) to get the path to your bundled database. If you want to modify it, you'll probably want to copy it to the documents directory and then reference that copy.
Another good answer on getting paths to various kinds of bundle resources if you need more help:
How to get path of image form Resource of main bundle

Using Oracle as datastore/db with webDAV instead of file system

Here is a need for fetching files (word/blob) directly from oracle and show it on browser on edit mode for editing and save it directly on oracle. Using file system is not an option due to security reasons. Please let me know if anyone has done similar earlier. Or if any idea how this can be done.
Can we use jackRabbit and WebDav for this. Using webDAV I am able to open the word file in word from file system:
ms-word:ofe|u|http://url/webdav/Test.docx
But this is opening in word, the need is-
1) Should be able to load directly from oracle database and open in url.
2) Edit it/update it
3) Save it, while save it should directly go to oracle DB.
Can we make any code change in webDAV servlet or any class/api to use oracle to load and save directly.
Any help/suggestion is highly appreciated.
Thanks,
If it works from the filesystem for you, so will it with Oracle. You just need to figure the appropriate persistence manager (see https://wiki.apache.org/jackrabbit/PersistenceManagerFAQ).
(Persistence Manager FAQ has been archived, see
http://jackrabbit.apache.org/archive/wiki/JCR/PersistenceManagerFAQ_115513487.html
or https://web.archive.org/web/20181226012431/https://wiki.apache.org/jackrabbit/PersistenceManagerFAQ)

What/where are the "quote site" options for z/OS FTP server?

I'm writing a script using Perl and Net::FTP, which is trying to upload a rather large file to the mainframe and I can't seem to get the primary/secondary allocations right.
I try to change them but it appears that, because the data sets are SMS-managed, they go to a different volume each time.
So I went looking the the quote site option which would (hopefully) lock the upload to a specific volume.
The current options I have are:
$ftp->site ("bl=10204 lr=170 rec=vb cy pri=100 sec=100")
and space is pretty tight on most volumes. However, I've located a volume with the required space but don't know how to specify that in the FTP options.
Is there a document somewhere detailing them? I couldn't find anything in the CommServer stuff nor did a Google search for ftp zos quote site turn up anything useful.
Alternatively, does anyone know the option to specify a fixed volume? Obviously I'd prefer the former since there may be other useful things in there but, at this point, I'd take the latter gratefully - I've darn near pulled out all my hair :-)
Log onto your mainframe's FTP using an interactive FTP program (e.g. FTP). Then type "quote help site" and you should get a good list of the options.
Just a little explanation... "site" is a command for the mainframe's FTP server. Typing "help" in front of it gets you help on the function. However, just typing "help site" will look for help on your FTP client (which probably never heard of the site command), so you have to pump the command to the server, which is what the "quote" command does.
BTW, your site command is asking for 100 primary and 100 secondary cylinders. That's a hefty chunk of DASD. Do you really need all that?
Good luck... let me know if you have any questions. I practically live on FTP on the mainframe and have written dozens (maybe hundreds) of Perl scripts to make things easier.
As a general FTP reference for z/os try Z/OS V1R7.0 Comm Svr: IP User's Guide and Commands.
Site commands can be found here.
Why not let SMS find the appropriate volume by using a DataClass appropriate for the file size?
How much hair did you start out with? Some can't afford to pull too much!

core data : phpmyadmin equivalent

In my app, I have a pretty huge datamodel and its .sqlite data file.
I would like to parse my records in the .sqlite file, and I'm wondering if there was a tool, like phpMyAdmin.
It would be an xCode tool, for example, or maybe a custom app downloadable on the web.
Does anyone know that kind of tool ?
There are any number of SQLite readers available, but SQLite Manager is popular:
https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/
i like the Core Data Editor, but it is quite expensive (23,99€)
Website:
http://christian-kienle.de/CoreDataEditor
Mac App Store:
http://itunes.apple.com/de/app/core-data-editor/id403025957?mt=12
the cool thing is, that core data editor is even able to generate (good and readable) code

What's the easiest way to view the contents of an SQL file / app data from an iPhone backup?

I'm looking for an easy way to make sense of a SQL file that I've pulled from some application data in an iPhone backup. It's a huge file with bits and pieces of readable data strewn throughout, and right now I'm reduced to using a text editor to pick through it, which will take years.
Are there any simple SQL viewers available that would work for someone with limited technical knowledge? Or is there a way to export the contents of the file to a more easily readable format?
Really appreciate any help!
Try Base, it is a paid app, but they have a free trial if you download outside of the Mac App Store. I use is daily for sqlite db's
I use SQLiteManager.
There are several other sqlite viewers, like Navicat, but I haven't used them personally.
Alternatively, you can just use sqlite on the command line:
sqlite3 path-to-file
.dump
.quit