Sponsored Content
Full Discussion: Perl - SQLite question
Top Forums Shell Programming and Scripting Perl - SQLite question Post 302183339 by cbkihong on Tuesday 8th of April 2008 10:02:45 PM
Old 04-08-2008
Are you using DBD::SQLite via DBI? And have you tried the "HandleError" attribute available in DBI?

DB - Database independent interface for Perl - search.cpan.org
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sqlite issue?

i'm on freebsd 5.2.1, and from a fresh installation i've used pkg_add for the latest ported version of apache, as well as installing php 5. supposedly php5 comes with native support for sqlite (in the binary package), and this is what i added. i am trying to install a site engine (the 'gyrator'... (0 Replies)
Discussion started by: brandan
0 Replies

2. HP-UX

sqlite database in HP-UX vs Linux

Hi everybody, We have a cgi application which accesses sqlite database. It works fine in Linux environment but the same code doesn't enter data into the database when done in HP-UX environment. Should the codes vary depending on whether it is Linux or HP-UX. Regards Ruma (1 Reply)
Discussion started by: perlprg
1 Replies

3. Shell Programming and Scripting

hell and sqlite

Hi everyone, I have a requirement that requires me to fill an sqlite database with 100,000 entries (no duplicates). I will start out by giving the command that will insert the values necessary to populate the database: # sqlite /var/local/database/dblist "insert into list... (2 Replies)
Discussion started by: ogoy
2 Replies

4. Shell Programming and Scripting

[ask]sqlite with shell script

hlow all i have file like this : BDG0100.2011091620162100CF5341.DAT BDG0100.2011091720175500CF5342.DAT BDG0100.2011091820192900CF5343.DAT BDG0100.2011091920210600CF5344.DAT but now i want make file like this 20110916.DAT 20110919.DAT 20110918.DAT 20110919.DAT so what i can do that... (3 Replies)
Discussion started by: zvtral
3 Replies

5. UNIX and Linux Applications

ruby/SQLite database interface

Hello, I'm not sure this is quite the right place, but there do seem to be allot of posts with folks using ruby to play nicely with databases so I thought I would give it a go. I am starting a long process of developing a database application bases on SQLite and ruby. This will run on various... (1 Reply)
Discussion started by: LMHmedchem
1 Replies

6. Shell Programming and Scripting

Using sqlite query to build script...

Okay, so this one is a bit above my knowledge level so I'm hoping for some pointers. Here's the scenario: I have a backup system on my network that makes single file images of the machines it's backing up and uses an sqlite database to keep track of everything. As is pretty typical with... (2 Replies)
Discussion started by: NyxPDX
2 Replies

7. BSD

FF, about:config, storage.vacuum.last.places.sqlite

Starting this new thread, because the older one has been shut, Looking in my linux distro, firefox and about:config something like the following appears storage.vacuum.last.places.sqlite: 1474885593 When using bleachbit, this very file named places.sqlite I am told it can't be deleted. In... (4 Replies)
Discussion started by: 1in10
4 Replies

8. UNIX for Beginners Questions & Answers

Manipulating UNIX and sqlite db

Hi there, I have multiple rows of data. For example: S/N | Name| Age I would like to store them into sqlite database after doing some grepping in CSV and output them into console/html format. Will it be possible? (1 Reply)
Discussion started by: alvinoo
1 Replies
Jifty::DBI::Handle::SQLite(3pm) 			User Contributed Perl Documentation			   Jifty::DBI::Handle::SQLite(3pm)

NAME
Jifty::DBI::Handle::SQLite -- A SQLite specific Handle object SYNOPSIS
DESCRIPTION
This module provides a subclass of Jifty::DBI::Handle that compensates for some of the idiosyncrasies of SQLite. METHODS
database_version Returns the version of the SQLite library which is used, e.g., "2.8.0". SQLite can only return short variant. insert Takes a table name as the first argument and assumes that the rest of the arguments are an array of key-value pairs to be inserted. If the insert succeeds, returns the id of the insert, otherwise, returns a Class::ReturnValue object with the error reported. case_sensitive Returns 1, since SQLite's searches are case sensitive by default. Note, however, SQLite's "like" operator is case insensitive. distinct_count STATEMENTREF takes an incomplete SQL SELECT statement and massages it to return a DISTINCT result count rename_column ( table => $table, column => $old_column, to => $new_column ) rename column AUTHOR
Jesse Vincent, jesse@fsck.com SEE ALSO
perl(1), Jifty::DBI perl v5.14.2 2010-09-21 Jifty::DBI::Handle::SQLite(3pm)
All times are GMT -4. The time now is 08:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy