From: Marcos R. W. (JIRA) <tr...@fi...> - 2017-03-24 20:28:20
|
FbScript Exception ------------------ Key: DNET-746 URL: http://tracker.firebirdsql.org/browse/DNET-746 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 5.8.0.0 Environment: Visual Studio 2015 / target .Net Framework 4.0 Reporter: Marcos R. Weimer Assignee: Jiri Cincura - Read script file and execute: - Multiple lines with comments - null except in execute this specific line: "delete from custo_reposicao_atual; -- deletar tudo pq na 514 teve alteracoes e pode estar errado o custo" Example: ExecuteScript("delete from custo_reposicao_atual; -- deletar tudo pq na 514 teve alteracoes e pode estar errado o custo") public void ExecuteScript(string ASQL) { FbScript sc = new FbScript(ASql); sc.Parse(); ---> exception here FbBatchExecution fbe = new FbBatchExecution(FConexao); fbe.AppendSqlStatements(sc); fbe.Execute(); } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |