ctrlalt313373
ctrlalt313373

Reputation: 4065

Batch Select Sql in SQLite or SqlCE with C#

Is there anyway to batch two different select queries to either SQLite or SQLCE and get the two result sets back in C#? If not, is there an embedded database that handles this?

Upvotes: 1

Views: 934

Answers (2)

ErikEJ
ErikEJ

Reputation: 41779

Batching is not available in SQL Compact

Upvotes: 1

Samuel Neff
Samuel Neff

Reputation: 74909

Separate the queries with a semicolon and load the results into a DataSet or use IDataReader.NextResult().

Upvotes: 1

Related Questions