Where Clause with int
How do you select all records from a table by int type field when it's not needed.

Say,

passedinValue is say = -1, That means it's not defined. So I need to omit that filter and return all customer records.

Select * from Customers where cityId = passedinValue

Thanks 
Where Clause with int
===

How do you select all records from a table by int type field when it's not needed.

Say,

passedinValue is say = -1, That means it's not defined. So I need to omit that filter and return all customer records.

Select * from Customers where cityId = passedinValue

Thanks 