Good morning.
I'm with a problem that I can't figure out. The situation is the following: I have a procedure that I call passing it a string, which is basically the name of a table. In this particular case it is "sys".
This procedure basically executes the following lines:
Query.Close ();
Query.ParamByName ('TABLE'). AsString: = Table;
Query.Open;
"Query" basically has this:
SELECT * FROM: TABLE;
Therefore you should run the following:
SELECT * FROM sys;
Truth?
Well, apparently I'm having a bug. Since when testing it and executing my procedure this happens:
[FireDAC] [Phys] [SQLite] ERROR: near ": TABLE:" syntax error.
** Does SQLite work differently with parameters? ** I can not find why it fails.