I'm trying to run several ddl statements using TUniScript to create tables, sequences, views etc.
But I get this error when the UniScript tries to create a stored procedure containing "{" or "}"
If I have Uni.EnableUniSQL := false; I can create the stored procedure using TUniSQL but then I can only execute a single ddl statement.
Why does setting Uni.EnableUniSQL := false work for TUniSQL but not for TUniScript?
Error: Empty macro or function name
Re: Error: Empty macro or function name
Correction: Doesn't work for TUniSQL or TUniScript
-
AndreyZ
Re: Error: Empty macro or function name
Please specify the exact database server you are working with.
Re: Error: Empty macro or function name
Hi
I'm using OpenEdge Progress Database with ODBC Driver for Progress OpenEdge 11.1 and ODBCUniProvider.
Not sure if this helps but it has been raised before with Postgre database.
http://forums.devart.com/viewtopic.php? ... ction+name
I'm using OpenEdge Progress Database with ODBC Driver for Progress OpenEdge 11.1 and ODBCUniProvider.
Not sure if this helps but it has been raised before with Postgre database.
http://forums.devart.com/viewtopic.php? ... ction+name
Re: Error: Empty macro or function name
Hello,
Thank you for the information, we have reproduced the problem. For the time being, to solve the problem, you should set this variable before initializing components, for example:
We will fix this behaviour in the next build
Thank you for the information, we have reproduced the problem. For the time being, to solve the problem, you should set this variable before initializing components, for example:
Code: Select all
program Project1;
uses
Forms,
Unit1 in 'Unit1.pas' {Form1},
Uni;
{$R *.res}
begin
uni.EnableUniSQL := false;
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.Re: Error: Empty macro or function name
Many thanks Alex.
Re: Error: Empty macro or function name
Hello,
If you have any other questions, feel free to contact us.
If you have any other questions, feel free to contact us.