It was what I thought at the beginning but in fact it doesn't come from that, because when I write:
...
CASE WHEN @Num % 2 = 0 THEN(
-- even number of street
@Num
)ELSE(
...
I get the folowing results (so @Num has been assigned):
PostCode Street Number CdeTour...
Hello everybody,
Here I have two tables. Let's call them A and B.
A contains the folowing data: (address of persons)
PostCode Street Number CdeTour
-------- ------ ------ -------
31000 Well. 0025 NULL
31000 Well. 0050 NULL
31000 Wash. 0010 NULL
B contains the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.