You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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\(\);
}
The text was updated successfully, but these errors were encountered:
The type of the SQL statement could not be determined. See also UnknownStatement event.
Statement: -- deletar tudo pq na 514 teve alteracoes e pode estar errado o custo.
Exception.StackTrace:
em FirebirdSql.Data.Isql.FbScript.Parse()
em UltraBanco.Banco.ExecuteScript(String ASql) na C:\ultra\UltraBanco\UltraBanco\UltraBanco.cs:linha 475
Submitted by: Marcos R. Weimer (marcosweimer)
- 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);
}
The text was updated successfully, but these errors were encountered: