I'm trying to use sqlite3 with lua (am already using c++, but I'm a n00b with lua- I read this) but I'm getting the following when trying to build the library or whatever:
C:\lib\lsqlite3-7>mingw32-make
process_begin: CreateProcess(NULL, pkg-config --version, ...) failed.
makefile:53: *** windows32. Stop.
I'm not at all surprised at ...
Hi all. Im triying to do a query on sqlite. I want to retrieve the server id of the servers that are not associated with a profile id (i have the id of the profile). The table serpro represents the n:n relationship betwen the tables.
This is my query (apparently it is wrong):
"Select server._id, server.server from server where server._...
I am trying to filter all the tables in a SQLite database based on if they are system tables or user generated ones.
So far I've found out that they are the ones with the sqlite_ prefix and AllDataTypes.
Has anyone done something like this? Is there a list of them?
Thanks in advance.
...
Hi All,
I have a Core Data-based iPhone app with a pre-populated read-only database. What protection (if any) can I apply to my database to reduce the likelihood of piracy / the database being read off a jail-broken iPhone?
Most code examples for using a pre-populated sqlite database show the database being copied from the app bundle...
I'd like to execute the following sort of query through sqlite3-ruby:
SELECT * FROM foo WHERE bar IN (:items)
and bind :items to one or many literals. Is this possible? The obvious technique of passing the list of literals as an array as follows doesn't seem to work:
db.execute("SELECT * FROM foo WHERE bar IN (:items)", :items=>[3,...
I have a field in an Android app that I would like to autocomplete from the user's contacts. I can get it to autocomplete based on partial entry of a particular name from the contacts, but I would like for it to autocomplete based on entering either the name or the email address of the contact. Here's the relevant code:
@Override
p...
I need to connect to a database in Sqlite so i downloaded and installed System.Data.SQLite and with the designer dragged all my tables.
The designer created a .cs file with
public class Entities : ObjectContext
and 3 constructors:
1st
public Entities() : base("name=Entities", "Entities")
this one load the connection string from A...
Hi all,
SQLiteJDBC was giving me the following exception when used with hibernate's "hbm2ddl.auto = update" setting:
org.sqlite.MetaData.getImportedKeys not yet implemented
Any solutions? I found one below, and am posting it here for my future reference, but anyone else have any better ideas?
...
Hi! I'm creating an iphone app. In which I'm reading data from the sqlite db and presenting it in the tableview control. Problem is that the data is in chinese language. Due to unknown reason, when I read/fetch record from the sqlite table, some records are presented and other are missed by objc. Even objc reads some columns of the missi...
Hi,
I'm creating an app that has a database using sqlite. On my app I've populated a UITableView with the data from the sqlite database. The values on the tableView can be edit by user and save it on the sqilte.
What I wanted to do was I need to mail the values from that table. How can I insert the values of that table to the mail that ...
I have a program developed for Windows XP, but when I try to install it in Windows Vista, I get an error message saying that the SQL database (sqlite3) is read only. Is that due to a feature in Windows Vista?
...
Question: I currently store ASP.net application data in XML files.
Now the problem is I have asynchronous operations, which means I ran into the problem of simultanous write access on a XML file...
Now, I'm considering moving to an embedded database to solve the issue.
I'm currently considering SQlite and embeddable Firebird.
I'm not ...
Using Core Data w/a sqlite store on iPhone.... I've got a bunch of comic book image entities, each with a string that includes the comic's issue#, e.g.: image.imageTitle = @"Issue 12: Special Edition";
Part of the UI allows the user to type in an issue number to jump to the next issue. My initial code for this was sloooooooow because im...
Is there a nice tool to convert gdbm file to sqlite database file?
...
I want to make portable desktop application in java using netbeans 6.8 and sqlite 3.6.23.1. So how to connect sqlite to netbeans and how to make it portable
...
I have a string column which contains some numeric fields, but a lot are 0, empty string or null. The rest are numbers having different range, all positive.
I tried to create a custom order by. The order would be done by two fields. First I would like to order the fields that have this number >0 and then sort by name.
So something this...
Hi everyone,
is it possible to load a float value out of an internal sqlite database and use it as a variable in CGMakeRect from UIButton?
I can't get this to work :-(
Here is some of my code. Maybe someone knows how to deal with this prob!!!
self.positionX = [NSNumber numberWithFloat:(float)sqlite3_column_double(init_statement, 3)];...
Hi all,
We have an encrypted SQLite database provided with our app, and we want to decrypt the file into memory so that we can access the database. How do we go about decrypting and accessing this database?
...
Simply put: I have a database design in my head and I now want to use Visual Studio 2010 to create a WPF application. Key is to use the VS2010 tools to take much as possible manual work out of my hands.
-The database engine is SQLite
-ORM probably through DBLINQ
-Use of LINQ
-The application can create new, empty database instances
...
hi all,
i use sqlite as db for my iphone project. i wanted to execute below 4 sql statements at 1 shot using a single prepare statement (like a batch of multiple sql queries) but it seems only the first statement in the batch works
what is the best way for me to sort this out (except for using multiple statements within a transaction)
...