I'm not sure if i made a mistake in logic.
If i have a query and i do an inner join with a null value would i always get no results or will it ignore the join and succeed? example
user { id PK, name NVARCHAR NOT NULL, banStatus nullable reference }
if i write and u.banStatus i will receive no rows?
select * from user as u
join banst...
Newbie Q.
I am building an app that will store data in sqLite then will collect it at week's end when the staff comes into the office.
What options do I have to get the data off.
Perhaps a receiving REST Web service?
Is there an 'export to iTunes file system' or something like that other option?
...
I have a mobile application. My client has a large data set ~100.000 records. It's updated frequently.
When we sync we need to copy from one database to another.
I have attached the second database to the main, and run an insert into table select * from sync.table.
This is extremely slow, it takes about 10 minutes I think.
I noticed th...
I'm pulling and pushing data from an sqlite database. I use the FMDatabase cocoa wrapper.
I'm pulling and pushing data from multiple threads, but I made sure that more then one transactions never happen at the same time.
I get EXC_BAD_ACCESS after a few hundred call at the database but never at the same time. It's also not memory rela...
I'm new to Android programming, and I wanted to pull list options from a column of the SQLite database for the user to select. How would I go about doing this? Like, say the database table to be read is called countries, and the columns were ID, country, and capital. How would I let the user pick from the list of capitals and have the ap...
I’m developing an Android and web application that will function as a service (use the same data). My question is how should the data be stored to allow for both the web and the android application to have access to the same set of data? Should the android application connect to the sites MySQL server to store/access data? If so how d...
Trying to get a simple PHP/Zend Framework setup to create a SQLite databse and manipulate it.
<?php
require_once("Zend/Db.php"); // Zend framework
$db = Zend_Db::factory('Pdo_Sqlite', array("dbname" => "./test.sqlite3"));
$sql = "CREATE TABLE IF NOT EXISTS ".$db->quoteIdentifier("configs")." (".$db->quoteIdentifier("name")." TEXT NOT ...
I have a table Messages with columns ID (primary key, autoincrement) and Content (text).
I have a table Users with columns username (primary key, text) and Hash.
A message is sent by one Sender (user) to many recipients (user) and a recipient (user) can have many messages.
I created a table Messages_Recipients with two columns: MessageID...
In a project I am working on we are developing Save-As functionality for a windows desktop application. This should allow the user to save his work (in a project) to a different location (just SaveAs ;).
Our project file contains a sqlite db with our domain objects and the persistency is done using NHibernate. Now our SaveAs logic look...
Does perform well an ASP website with a SQLite database?
...
I have asked similar question before , here is detailed explanation of what i'm trying to achieve
I have two sqlite tables
table1 - is standard table - has fields like server,id,status
table2 - has fields like server,id,status,number,logfile
Table2 is empty and Table1 has values. I'm trying to fill table2 with entries from table1.
I ...
So I've a user model and a corresponding table (users) with fields: User_id, username, password etc.
But then I added invitation_limit to users table. Newly created users have invitation_limit, however the users created before the invitation_token migration was run don't have the invitation_limit field.
How do I update the previously c...
Hi I'm working on my first sqlite project and I was just wondering if sqlite supports all the same field type that MYsql does e.g - DATETIME, TINYINT, VARCHAR ect.
If sqlite supports limited field type it would be a big help if someone could provide me with them.
thanks!
...
I have the following model.
from django.db import models
class Client(models.Model):
postcode = models.CharField(max_length=10)
first_name = models.CharField(max_length=100)
last_name = models.CharField(max_length=100)
address = models.TextField(blank=True)
phone = models.IntegerField(blank=True)
email = model...
Greetings,
I'm looking in the documentation for SQLite on Android but can't seem to find the anser for my question - so maybe someone here can help.
When I create a database using the SQLiteOpenHelper will the database only be created once if it does not exist or will it be overwritten each time I call the OnCreate method.
...
I am working with sqlite3 file.
First, I entered relatively big database, file size was about 100 mb.
Than I made
$db->exec("DELETE FROM table");
and entered just a small part of that database. But file size remained 100 mb.
What should you do to change sqlite file size when deleting it's content?
...
I am saving arrays of doubles in an NSData* object that is persisted as a binary property in a Core Data (SQLite) data model. I am doing this to store sampled data for graphing in an iPhone app. Sometimes when there are more than 300 doubles in the binary object not all the doubles are getting saved to disk. When I quit and relaunch my a...
While closing sqlite3 using sqlite3_close function it returns error code 5
5 - database file is busy. How to fix this issue.
...
from this post http://stackoverflow.com/questions/2130641/sqlite-python-insert I learned inserting into tables but now I need to use where something like
cursor.execute("insert into table1(id) values (?) where ip=? and address=?",(id,),(ip,),(addr,));
...
I'm developing a program using PyQt4 and sqlite,
I want to include a small sqlite browser/editor/manager, just like sqliteman or sqlitebrowser,
are there any one written by pyqt?
...