83 Topics

Member Avatar for
Member Avatar for Caraka

I am having trouble structuring an sqlite update statement that has multiple parameters. The following code does not raise an exception, but nor does it update my table. After extensive googling and searching Daniweb, I think I'm looking right at the blindingly obvious and missing it. I have a list …

Member Avatar for Caraka
0
4K
Member Avatar for wafieali

Hi All, Sorry if this annoyed any of you. but I'm really indeed. I need to know on HOW TO LOAD 300 RECORDS OR DATA PER SECOND in my mobile apps (for this purpose, I use iOS app). I just need a sample or basic code on how to run …

Member Avatar for wafieali
0
120
Member Avatar for andrewtrench

Hi. I have a problem that I am tearing my hair out to solve. I am trying to transfer tens of thousands of records into a sqlite db using the script below. The script seems to run okay and I can see the db growing as it runs to some …

Member Avatar for andrewtrench
0
2K
Member Avatar for J-M DESMETTRE

Hi, I've posted two scripts that I would like to improve. The first one (SparePartsDemo.py) is a little utility that takes a .csv (.txt) data file exported from another application, builds a SQLite database,performs a request to select and sort records and write the results to a sqlite database file, …

0
627
Member Avatar for nelamurugan

Hi, Am new to here, and i cam here with problem that can be easily solved by you guys, Please help me out. I have got sqlite3 db dump as dbname.db3, So then i tried to connect this sqllite from php. Here is my sample code which i got it …

0
84
Member Avatar for stefh

Hi there, my name is Stéphane, i'm french and a beginner with Python... I've registered on a french forum about Python to ask a question regarding an issue i have with a code, but it seems the members of this forum are not active. I paste the message i posted …

Member Avatar for stefh
0
651
Member Avatar for neroth

A bit of background: I've been working on a python script to do some calculations on a land use model. Basically, I take amount of space developed in the future and pull out a table that has the amount of space by geographic area within the larger area. I load …

Member Avatar for neroth
0
308
Member Avatar for litchi

Hi :) I am writing an admin application for a website I've written. It's a basic database update/insert/delete app. I started by using the website's server, but the time it took to connect to the server (since the main JTable is populated from the db, you have to wait for …

Member Avatar for pkulkarni89
0
746
Member Avatar for killerpopiller

Hi, I can connect to an energy-meter (Baudrate 300!) and the logfile with 228 lines comes slowly in.[code=Python]line = ser.readline(eol='!') print line [/code] If I use the above code, the complete logfiles is shown. And if I parse separatly saved logfiles with match, it sorts out the right values into …

0
126
Member Avatar for killerpopiller

Problem with storing extracted values in SQLite - How to adress or index list of values for proper insertion into table. The Regex works fine: input logging data looks like: 0.0.0(06026104) 1.6.1(0.1501)(1011111000) 1.6.1*32(0.1446)(1010190800) 1.8.1(02484.825) 1.8.1*32(02449.574) correct regex output: 06026104 0.1501 02484.796 [CODE] with open("usage.log") as fp: for line in fp: …

Member Avatar for killerpopiller
0
240
Member Avatar for ChaosKnight11

Hi there, I have started working on a new C# app which will be installed directly onto our customers' computers to access our services remotely. I'm still in the phase of planning how everything will fit together. I normally use PostgreSQL for our back-end database needs, but I can't think …

Member Avatar for sachintha81
0
197
Member Avatar for d5e5

Someone mentioned in another thread they had found and downloaded [URL="http://search.cpan.org/~adamk/ORLite-1.45/lib/ORLite.pm"]OrLite[/URL], presumably to consider using it to access data in an SQLite database. Since, to use OrLite you need to have the DBI and DBD::SQLite modules installed on your computer as well, I think you could just use DBI to …

Member Avatar for d5e5
1
258
Member Avatar for shinsengumi

Hi everyone. I'm using sqlite3 in Linux and I currently have a problem. I have a database and 2 tables in it: db1 and db2. db1 has 3 columns: empID, empName, empAddr. db2 has just 1 column: empID and its value is set to 0 by default. I created a …

Member Avatar for shinsengumi
0
548
Member Avatar for viandante

Hi guys! I'm writing my first small application*. For this I'm using Sqlite as database, Glade as GUI builder and Python as coding. The application is pretty simple: it's a notebook to store names, surnames, adresses, etc.. I've been able to create a first window to store data in Sqlite …

Member Avatar for woooee
0
878
Member Avatar for EverWebby

I am trying to convert my CMS to SQLite for easy and quicker deploy-ability. Performance wise, I heard that SQLite might be the way to go. At any rate, I am having the hardest time with trying to convert my mysql database to a SQLite database. Having reviewed and downloaded …

Member Avatar for phpstan
0
99
Member Avatar for andrewtrench

Hi, First off, I'm a real greenhorn so please forgive me asking questions which may be bleeding obvious, but I have searched and searched and cannot find an answer to my problem. I'm trying to import a CSV file into sqlite3 database in python. The CSV file has 56 columns …

Member Avatar for TrustyTony
0
570
Member Avatar for J-M DESMETTRE

Hi folks, I've got a little problem with my queries in sqlite3. I need to select 'brands' (a, b, c, ...) for a 'date' YYYY-MM-DD from my table. As you can see in my script, I'm able to build a query by passing 'selectedDate' or 'selection', but not both values. …

Member Avatar for woooee
0
140
Member Avatar for Umaid

Well I am interested in fetching 3 records because i need to show them on one screen as the program starts, and reason for showing 3 recording is to maintain next , now and previous button. Whenever i click next button so it should increment by +1 everytime and show …

0
64
Member Avatar for bharatk

Hello I have a rails application where I have to subtract 2 time stamps and display the result on the webpage I have used the following sql statement and I am getting the results. [CODE]select (julianday(resolutions.created_at)-julianday(tickets.created_at))*24 from tickets,resolutions[/CODE] the value of tickets.created_at is 2010-04-05 18:59:02 which is a time stamp …

Member Avatar for bharatk
0
201
Member Avatar for nishant52

I'm trying to perform multiple inserts into a table present in SQLite database using JavaScript. For this purpose I'm using Transactions. Here is my code (HTML + JavaScript): <html> <head> <script language="javascript"> var shortName = 'Test'; var version = '1.0'; var displayName = 'Test'; var maxSize = 65536; db = …

0
97
Member Avatar for eliza2044

Hey guys, Does any of you have a clue how can I install the sqlite3 library on my computer? I'm using netbeans for building my application which now needs to handle a database. I already tried to compile the sqlite3 source code but the make command ends into a huge …

Member Avatar for eliza2044
0
493
Member Avatar for Megabyte89

OK I have a search script that suppose to search for information in my database. The problem I having is that I want the user to be able to enter a last name to search. The only part that is giving me problems is this part, I'm stuck on this …

Member Avatar for strider1066
0
212
Member Avatar for dmonopoly10

I don't understand what this code does. I really just want an explanation for the part between the /**********************************/ /**********************************/ It was predominantly found at the following site: [url]http://www.ch-werner.de/javasqlite/[/url] (the actually code is in the 'test program' link at this site). You'll notice parts are different because I edited/added parts. …

Member Avatar for masijade
0
525

The End.