I want to use limit in mssql, which is TOP, parametrized. I hoped I can get top parametrized like that:
engine.execute( text("select top :t * from Orders), t=100)
but I get: Statement(s) could not be prepared. (8180) (SQLExecDirectW)') 'select top ? * from Orders' (100,)
With top fixed or out it works fine.
Any ideas?