Can you read pragma statements on command line startup in SQLite

Posted by thermans on Stack Overflow See other posts from Stack Overflow or by thermans
Published on 2010-05-21T17:48:16Z Indexed on 2010/05/21 17:50 UTC
Read the original article Hit count: 200

Filed under:
|

I use the command line sqlite3 executable to check queries I make from my code.

Is there a way to read in pragma statements or other session setup (".mode csv" for example) when the executable starts up?

I know I can do a ".read " once I'm in, but that's tedious.

© Stack Overflow or respective owner

Related posts about sqlite3

Related posts about sqlite