Hi everyone,

I'm trying to execute an insert query via QSqlQuery in my SQL Server Database. The query looks like this:

INSERT INTO dbo.mytab ([col1:data1], [col2:data2], [col3:data3], [col4:data4]) VALUES(?, ?, ?, ?)

The query is correctly prepared using addBindValue function, but when it's executed I get the following error:

"INSERT INTO dbo.mytab ([col1?], [col2?], [col3?], [col4?]) VALUES(?, ?, ?, ?)"
QSqlError(8180, "QODBC3: Unable to execute statement", "[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'col1?'.

I guess this is somehow related to the role of placeholders in the query, but I cannot figure out how. Is there a way to include colon in the column names without generating this error?
Thanks in advance!