I want to allow sort to parameterized in a query, field id and order
so I have select .... order by @sortcol
then what? How to I use a parameter to indicate asc vs desc?
Using c# npgsql library.
I want to allow sort to parameterized in a query, field id and order
so I have select .... order by @sortcol
then what? How to I use a parameter to indicate asc vs desc?
Using c# npgsql library.