Posts by Luan Lary • 1 point
2 posts
-
0
votes1
answer1291
views -
0
votes5
answers1444
viewsA: Query pass null parameter
You can do so within the query: select * from xpto where 1=1 and ((parametro = :parametro) or (parametro = -1)) ai when it is null you pass -1