stevelionbird
Programmer
I am passing variables into a stored procedure and want to use one in and ORDER BY clause like so:
[COLOR=black yellow]
order by paramContactSortBy, c.ID, eg.GroupName;
[/color black yellow]
however this does not work.
Does anyone know why?
I know the value of the variable to be valid ([blue]c.FirstName[/blue] for instance), and no errors are thrown.
does MySQL only see it as a reference to the variable and if so is there another approach I could take.
Thanks,
Steve
[COLOR=black yellow]
order by paramContactSortBy, c.ID, eg.GroupName;
[/color black yellow]
however this does not work.
Does anyone know why?
I know the value of the variable to be valid ([blue]c.FirstName[/blue] for instance), and no errors are thrown.
does MySQL only see it as a reference to the variable and if so is there another approach I could take.
Thanks,
Steve