構文
AdoDotNet.Query(providerName as text, connectionString as any, query as text, optional options as nullable record) as table
バージョン情報
ADO.NET プロバイダー providerName を使用して、接続文字列 connectionString で query を実行した結果を返します。 connectionString には、テキストまたはプロパティ値のペアのレコードを指定できます。 プロパティ値には、テキストまたは数字を使用できます。 省略可能なレコード パラメーター options を指定して、追加のプロパティを指定することができます。 レコードには、次のフィールドを含めることができます。
CommandTimeout:キャンセルされるまで、サーバー側クエリが実行を許可される長さを制御する期間。 既定値は 10 分です。SqlCompatibleWindowsAuth: Windows 認証のために SQL Server 互換の接続文字列オプションを生成するかどうかを決める論理値 (true または false)。 既定値は、true です。