Moin,
die korrekte Verwendung von Parametern in Verbindung mit
OLE DB (
ADO) ist in der Dokumentation genau erklärt:
[equote="
OLE DB Programmer's Reference :: Using Parameters"]...
In most cases, parameter markers can legally appear only in certain positions within an
SQL statement. They cannot take the place of an identifier, such as a column name in the SELECT list or a table name in the FROM clause, and are not allowed in data definition language (DDL) statements. ...
[/equote]
Grüße vom marabu