Hello:
I am having difficulty getting PHP(5) on Windows to work with Sqlite. After some research, I found that I have to change the php.ini file so that it reads (without semi-colons):
extension=php_pdo.dll
extension=php_sqlite.dll
I ran the phpinfo() command, and verified that my computer is reading the right php.ini file. Additi...
How is it possible to read the German umlaut from an sqlite?
All I get are weird characters.
Thank you!
...
Hey guys.
Here is my scenario: I've got a database, where 2 columns are interesting for me. I now created an autocompletetextview where the adapter gehts via SQL the entries of one column.
So far... so good, but what i actually want is, that if the user types sth. into the autocompletefield i notice this and fetch the text. Via SQL I ...
I have a multithreaded app that uses sqlite. When two threads try to update the db at once i get the exception
Additional information: The database file is locked
I thought it would retry in a few milliseconds. My querys arent complex. The most complex one (which happens frequently) is update, select, run trivial code update/delete, c...
I continue to have problems setting up a GeoDjango installation that uses Spatialite as a backend on a Windows machine.
I used the GeoDjango installer and downloaded the precompiled libraries from http://www.gaia-gis.it/spatialite/binaries.html, and dumped them into my geodjango/bin directory.
I upgraded my pysqlite2 installation to th...
While using ADO.NET (maybe i am wrong, i dont know what its called) i notice that i can only begin a transaction with a connection and a command seems to have command.Transaction which gets me the transaction data but doesnt start a transaction itself? Actually while looking i see this in System.Data.SQLite
// Summary:
// The tr...
I'm creating a financial app and it seems my floats in sqlite are floating around. Sometimes a 4.0 will be a 4.000009, and a 6.0 will be a 6.00006, things like that. How can I make these more exact and not affect my financial calculations?
Values are coming from Python if that matters. Not sure which area the messed up numbers are co...
I recently ported one of my PHP applications from MySQL to SQLite to make it easier to administrate. For some reason, I can access a the sqlite database from PHP and it works perfectly, but if I try to open it with something else, like sqlitemanager, or the sqlite firefox plugin, the database just seems blank, or it won't open it.
Any i...
I am developing an application that periodically sends information to an external server. I make a local copy of the data being sent, for backup purposes.
What is the best option to store the data in terms of saving battery life? Each data submission is a serialized object (the class has 5 fields, including a date, numbers and strings...
I am following the tutorial on the DJango site, which I previsouly did using Windows XP and everything went fine, but on Windows 7 I get the following error:
sqlite3.OperationalError: unable to open database file
I use the following:
python manage.py sql Blog
Does any one have any ideas what might be wrong. The database file is lo...
hii, i am creating NSMutableArray in appDelegate and creating class for database handling operations i hav a function in which in am returning the arrray from the function but when i am displaying the value in UITable view it's not showing . the array which is returing is not reating it's value. can u please help me out.
...
Hello.
In SQLite ADO .Net (sqlite.phxsoftware.com) documentation for ExecuteScalar() query method reads: "Execute the command and return the first column of the first row of the resultset (if present), or null if no resultset was returned.". I have created a table:
create table users ( id integer primary key, name text )
And executed...
Hello.
Sorry for novice question, i have a really limited experience working with SQL :(. I have two tables. First one:
create table history ( id integer primary key, task integer )
And second one:
create table task ( id integer primary key, name text )
What will be an SQLite query that will return a list of history.id and task.na...
Hi All,
i am beginner in iphone application and want to delete record from database is it supported by sqlite3 and yes then how to perform this operation.
...
I a problem in JDBC driver for SQLite.
I am executing a query with SELECT statement.
If I get an empty resultset (0 rows) then I see a "Closed ResultSet" exception thrown when checking GetString(1).
Without much prior JDBC experience, my theory (which I could not confirm via JavaDocs for ResultSet) is that
GetString(1) does NOT work...
I am using a mysql db. Right now for my multithreads i use lock(staticVar){...}. It works fine. But i can add data via the command line which also uses the DB. It will occasionally throw an exception or cause my main instance to throw an exception from the sqlite db being lock.
How can i create a mutli instance lock so i no longer get t...
I am looking for an existing solution for transparent SQLite 3 zlib compression using a custom VFS implementation and a custom IO methods implementation.
Is anyone aware of an existing project that already does that, or will I have to roll my own? I vaguely remember seeing something similar a year ago, but can't find it anymore.
...
my date of string like (2009-12-03 21:05:00) date with time . so i used to store
var newdate:Date=new Date(Date.parse(startdate)); but shows some errors.
and also i tried to split string(date) used date function like
var datenumber:Number= (new Date(Date.parse(startdate))).getDate();
not get the date how can i split particular date ...
I want to compile the icu sqlite extension statically linked to icu.
This is what I've tried, maybe the mistake is obvious to you.
> cd icu/source
> ./runConfigureIcu Linux --enable-static --with-packaging-format=archive
...
> make
> cd ../../icu-sqlite
> gcc -o libSqliteIcu.so -shared icu.c -I../icu/source/common
-I../icu/sour...
I know NHibernate has a driver for SQLite, but what do I have to install locally to use the in-memory version?
...