By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,548 Members | 1,496 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,548 IT Pros & Developers. It's quick & easy.

pysqlite

P: n/a
hi all,

I need to be able to flash a database with the sql def'ns I have, and it
works if I pipe my file into sqlite, but when I execute the same data as
a giant string I get no error, but the database isn't flashed.

anyone have any ideas ? Ive tried stripping out newlines, all whitespace
reduced to single spaces etc etc ...

--
Dave Harrison
Nullcube
da**@nullcube.com
http://www.nullcube.com

Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Dave Harrison wrote:
I need to be able to flash a database with the sql def'ns I have, and it
works if I pipe my file into sqlite, but when I execute the same data as
a giant string I get no error, but the database isn't flashed.

anyone have any ideas ? Ive tried stripping out newlines, all whitespace
reduced to single spaces etc etc ...


Did you commit() before closing the connection?

Peter

Jul 18 '05 #2

P: n/a
On Sun, 28 Mar 2004 21:59:35 +1000,
Dave Harrison <da**@nullcube.com> wrote:
I need to be able to flash a database with the sql def'ns I
have, and it works if I pipe my file into sqlite, but when I
execute the same data as a giant string I get no error, but the
database isn't flashed. anyone have any ideas ? Ive tried stripping out newlines, all
whitespace reduced to single spaces etc etc ...


Is there a final newline on the string?

Regards,
Heather

--
Heather Coppersmith
That's not right; that's not even wrong. -- Wolfgang Pauli
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.