Sqlite
Paul via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jan 11 23:09:17 PST 2015
On Sunday, 11 January 2015 at 22:19:28 UTC, Tobias Pankrath wrote:
> Hint: Put the SQL in a file create_people.sql and import it
> into your code via the import statement:
>
> string sql = import("create_people.sql"); // you'll need a
> correct -J compiler switch
>
> That way you can easily test if it's correct on the
> commandline. It's .read <filename> in the sqlite3 shell.
Neat, thank you!
More information about the Digitalmars-d-learn
mailing list