I've searched through the site and haven't found a question/answer that quite answer my question, the closest one I found was: Syncing objects between two disparate systems best approach.
Anyway to begun, because there is no RSS feeds available, I'm screen scrapping a webpage, hence it does a fetch then it goes through the webpage to sc...
Will I get support successful from SQLite users even using SQLiteJDBC?
(I know nothing about both)
...
I want to use sqlite memory database for all my testing and Postgresql for my development/production server.
But the SQL syntax is not same in both dbs. for ex: SQLite has autoincrement, and Postgresql has serial
Is it easy to port the SQL script from sqlite to postgresql... what are your solutions?
If you want me to use standard SQL...
MySQL has something like this:
INSERT INTO visits (ip, hits)
VALUES ('127.0.0.1', 1)
ON DUPLICATE KEY UPDATE hits = hits + 1;
As far as I'm know this feature doesn't exist in SQLite, what I want to know is if there is any way to archive the same effect without having to execute two queries. Also, if this is not possible, what do you p...
Hi,
I got this error (library routine called out of sequence), and I read some things via google about threads, but i never call the database at the same time...
I call this method for the first time with succes, Second time also with success, 3th time with no succes, my breakpoint stops at sqlite3_open...
This is my code:
-(NSMutableA...
So I have an app where I put arbitrary strings in a database and later extract them like this:
Cursor DBresult = myDatabase.query(false, Constant.DATABASE_NOTES_TABLE_NAME,
new String[] {"myStuff"}, where, null, null, null, null, null);
DBresult.getString(0);
This works fine in all cases except for when the string looks l...
rails 2.3.4, sqlite3
I'm trying this
Production.find(:all, :conditions => ["time > ?",
start_time.utc], :order => "time DESC",
:limit => 100)
The condition works perfectly, but I'm having problems with the :order => time DESC.
By chance, I discovered that it worked at Heroku (testing with heroku console), which runs PostgreSQ...
Hello,
Just out of curiosity, for applications that have a fairly complicated module tree, would something like sqlite/sql compact edition work well for message passing?
So if I have modules containing data such as:
\SubsystemA\SubSubSysB\ModuleB\ModuleDataC, \SubSystemB\SubSubSystemC\ModuleA\ModuleDataX
Using traditional message pas...
Currently, I am working on the migration mentioned in the title line. Problem is application configuration that is kept in registry has a tree like structure, for example:
X
|->Y
|->Z
|->SomeKey someValue
W
|->AnotherKey anotherValue
and so on.
How can I model this structure in SQLite (or any other DB)? If you have experie...
I have used Inserts, selects, updates, deleted without problem all over the program but for some reason this specific section causes it to except and not run the SQL I send it.
I am trying to "UPDATE SectionTable(AreaID) VALUES ('+IntToStr(ActClient.AreaID)+') WHERE SectionID='+IntToStr(iCount)"
The section with the ID "iCount" exists de...
Hi
Does sqlite support linq-to-SQL?
...
I am getting error message "near "?": syntax error" randomly while
executing the query "SELECT [record] FROM [ac_contacts_cache] LIMIT 0,
3".
Table schema:
CREATE TABLE IF NOT EXISTS
[ac_contacts_cache] (
[record] TEXT NOT NULL
)
Any help here is appreciated.
...
Hi,
What would people recommend using as a persistence approach for Sqlite from a C# windows forms application - LINQ-to-SQL or Entity Framework?
(I ask this on the basis that I've had some people say stay away from DataTables and move to one of the new approaches)
...
We're using jQuery to get a JSON-string from our server (UTF-8 response, also UTF-8 request through jQuery) and put this JSON into a Google Gears WorkerPool. This workerpool processes the JSON and stores it into a Gears database (SQLite).
It turns out that, apparently, SQLite stores data using iso-8859-1 rather than UTF-8. Since we're t...
I have tried this which did not work.
select top 5 * from [Table_Name]
...
I have a sql / sqlite question. I need to write a query that select some values from a sqlite database table. I always want the maximal returned records to be 20. If the total selected records are more than 20 I need to select 20 records that are spread evenly (no random) over the total records. It is also important that I always select ...
I'm newbie and I must save "Ranking" and "Level" of user.
I create file Ranking.xcdatamodel for save "Ranking"
with entity name Ranking (property is Rank, Name) I can save and show it.
But when I create entity Level (property is CurrentLevel) my program is crash and show this message:
Unresolved error Error
Domain=NSCocoaErrorDoma...
Project CompetitionServer.exe raised exception class ESQLiteException with message 'Error executing SQL.
Error [1]: SQL error or missing database.
"INSERT INTO MatchesTable(MatchesID,RoundID,AkaFirstName,AoFirstName)VALUES(1,2,p,o)": no such column: p'. Process stopped. Use Step or Run to continue.
Yes, p is NOT a column, it is ...
Which is the better choice out of dotConnect or "sqlite.phxsoftware.com" for using Entity Framework with SQLite (in C#)?
...
A table with ~100k rows.
SELECT word FROM entries WHERE word MATCH '"chicken *"';
17 results in 46ms
SELECT word FROM entries WHERE word MATCH '"chicken f*"';
2 results in 5793ms
Why such a huge drop?
...