AUTOddlはisqlコマンドであるFirebirdコマンドではありません。 iSql
あなたは多分、プロセスfunctoinを使用してコマンドを実行していますか?
public void Execute() {
Process p = new Process();
p.StartInfo.FileName = @"C:\Programme\Firebird2\bin\isql.exe";
p.StartInfo.Arguments = String.Format(" -q -user {0} -password {1} elias:{2} SET AUTOddl ON", user, password,"Database");
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardInput = true;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.RedirectStandardError = true;
p.Start();
}
上記のテストは行っていませんが、動作するはずです。それができない場合は、SQLスクリプトをスクリプトファイルに入れてスクリプトファイルを実行してください。
スクリプトを実行するパラメータは次のとおりです。 -q -i c:\Scripts\CreateScript.sql
これが役に立ちます。
私はIB Queryを使用しており、 "SET AUTODDL ON"も使用できます。 FbCommandでその文を使用することはできませんか? – Juanma