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!
  • Sqlite Paul via Digitalmars-d-learn
    • Re: Sqlite ketmar via Digitalmars-d-learn
    • Re: Sqlite Paul via Digitalmars-d-learn
      • Re: Sqlite Tobias Pankrath via Digitalmars-d-learn
        • Re: Sqlite Paul via Digitalmars-d-learn

Reply via email to