I am attempting converting an application from VB6 to an iphone app.
In the VB version, the database is in Access. But, I have read that I need to convert it to SQLite.
How I amend the following code to switch from Access to SQLite?
cnList = new ADODB.Connection();
rsList = new ADODB.Recordset();
cnList.Provider = "Microsoft.Jet.OLEDB...
I try to import an Excel table with German special characters (ä, ö, ü, ß, Ä, Ö, Ü). These don't import properly into the SQLite database (using the firefox SQLite Manager).
Any clues how to properly import the CSV file?
...
Does anyone have experience in developing a standalone app with Silverlight using SQLite database? App should be distributed on CD or DVD for Windows OS and has to have autorun, with possibility to install .NET Framework if needed.
How difficult is to develop that kind of app for someone who has two years experience in Asp.NET web forms ...
Hi!
I used BEGIN EXCLUSIVE for my write transaction so that the other users connect to the database at the same time will have to wait.
My question is "Is there a way to track how long the script has been waiting before timeout"?
I would like to return either a "database locked" or "sqlite busy" message to a variable in my script and ex...
I'm trying to extract column names from a SQLite result set from sqlite_master's sql column. I get hosed up in the regular expressions in the match() and split() functions.
t1.executeSql('SELECT name, sql FROM sqlite_master WHERE type="table" and name!="__WebKitDatabaseInfoTable__";', [],
function(t1, result) {
for(i = 0;i < result...
How can I access SMS.db file in my iPhone. I want to make an XML document and send it to my server. I am getting problem in fetch data from var/mobile/Library/SMS/sms.db. I can fetch data from resource folder. My iPhone is jail-broken.
Thanks
...
Hey guys I am using http://th30z.netsons.org/2008/11/objective-c-sqlite-wrapper/
wrapper for my iPhone Application.
How do I close my database when applicationWillTerminate with the help of this wrapper?
Thanks in advance.
...
Hello all,
I'm writing an RSS reader for Android. I've faced a certain difficulty which the problem I can't resolve since databases aren't my expertise.. So i figured out maybe one of you could help me out! I currently have 3 tables (Categories, links and feeds). My goal is too link a feed to multiple categories. Therefor I'm using a Li...
I have design a database. Theres no columns with indexing, nor any code for optimizing. I am positive i should index certain columns since i search them a lot.
My question is HOW do i test if any part of my database will be slow? ATM I am using sqlite and i will be switching to either MS Sql or MySql based on my host provider. Will crea...
I have a table MRU, that has 3 columns.
(VALUE varchar(255); TYPE varchar(20); DT_ADD datetime)
This is a table simply storing an entry and recording the date time it was recorded. What I wanted to do is: delete the oldest entry whenever I add a new entry that exceeds a certain number.
here is my query:
delete from MRU
where type ...
Three questions about reserved words:
Are there any reserved words in SQLite? If so, what are they?
If there are reserved words, is the correct syntax for using one of them as a column or table name still to surround it with brackets? E.g., [User] or [Name]?
Are there any implications with using words that are reserved in other flavors...
Hi all. I have a bunch of SQL in a file, which creates the tables and so forth. The problem is that the .read command simply returns "can't open xxx" when I try to execute it. I've set the permissions to everybody read/write, but that didn't help. I can cat the file from the command line and see it fine.
This is under Mac OS 10.6.3....
hi. im creating a game right now and im a bit stuck on how to implement storage of levels. i need to be able to download level files from the internet ota. im not so familiar with transferring files ota, but i have some experience with databases (mysql). what would be a better way of storing the game's level data?
...
I am trying to update a datetime column in an android sqlite db to use international date format (yyyy-mm-dd) instead of the current format (mm/dd/yyyy). I want to use the sqlite date() function to reformat the current value of the column. I thought it would be as simple as the following:
update tblename set thedate = date(thedate)
but...
Hello,
Im facing the problem during installation :
>>setup configure
Configuring HDBC-sqlite3-2.3.0.0...
setup: Missing dependency on a foreign library:
* Missing C library: sqlite3
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
alread...
I'm using the built in sqlite library on the Android platform.
I'm considering adding several general purpose fields that users will be able to use for their own custom applications, but these fields will be blank most of the time.
My question is, how much overhead will these blank fields add to my database? Do null fields even take u...
I am trying to design a sqlite database that will store notes. Each of these notes will have common fields like title, due date, details, priority, and completed.
In addition though, I would like to add data for more specialized notes like price for shopping list items and author/publisher data for books.
I also want to have a few gen...
Here is my second stupid Noob problem. I am trying to do a simple Delete and I keep blowing up on the prepare step. I already have other Deletes, Inserts, Updates and Selects working. I am sure it is something simple. I appreciate your help.
+ (void)flushTodaysWorkouts {
sqlite3_stmt *statement = nil;
//open the database
...
In MySQL , my sql is like following
SELECT * , IF( `Word` = 'sim', 1, IF( `Word` LIKE 'sim%', 2, IF( `Word` LIKE '%sim', 4, 3 ) ) ) AS `sort`
FROM `dblist`
WHERE `Word` LIKE '%sim%'
ORDER BY `sort` , `Word`
This sql is not working in SQlite. I want to do result order.
SELECT * FROM dblist where word like 'sim' or word like 'sim%' or ...
I know that - SQLite doesn't support Day name & month name.
I have gone through this question.
I have created two custom functions for it.
My custom function for Converting Day name from day number
( %w day of week 0-6 with sunday==0 )
+(NSString*)dayNameStringFromDayNo:(NSString*)dayNo{
return
([dayNo isEqualToString:@"0"])?...