I have a simple query like this:
select * from mytable where id > 8
I want to make the 8 a variable. There’s some syntax like
declare @myvar int myvar = 8
but I don’t know the exact syntax.
What is it?
Thanks!
Related Questions
No related questions found
It’s: