QUERY dont match VENETO, WHY!!!
Run query1
QUERY dont match VENETO
-
- PlatinumLounger
- Posts: 4357
- Joined: 26 Apr 2010, 17:36
QUERY dont match VENETO
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 78512
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: QUERY dont match VENETO
What do you mean?
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 4357
- Joined: 26 Apr 2010, 17:36
-
- Administrator
- Posts: 78512
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: QUERY dont match VENETO
The query returns REG from SAM_REGIONI:
The code of VENETO in SAM_REGIONI is 0, not 5:
Code: Select all
SELECT SAM_REGIONI.REG, SAM_REGIONI.REGIONE
FROM SAM_REGIONI INNER JOIN REGIONI ON SAM_REGIONI.REGIONE = REGIONI.REGIONE;
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 4357
- Joined: 26 Apr 2010, 17:36
Re: QUERY dont match VENETO
OK.HansV wrote: ↑24 Feb 2024, 10:46The query returns REG from SAM_REGIONI:
The code of VENETO in SAM_REGIONI is 0, not 5:Code: Select all
SELECT SAM_REGIONI.REG, SAM_REGIONI.REGIONE FROM SAM_REGIONI INNER JOIN REGIONI ON SAM_REGIONI.REGIONE = REGIONI.REGIONE;
S2510.png
But i need to update reg and reg1 in SAM_REGIONI with a mtach REGIONI<>REGIONI
-
- Administrator
- Posts: 78512
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: QUERY dont match VENETO
UPDATE SAM_REGIONI INNER JOIN REGIONI ON SAM_REGIONI.REGIONE = REGIONI.REGIONE SET SAM_REGIONI.REG = [REGIONI].[REG], SAM_REGIONI.REG1 = [REGIONI].[REG1];
Best wishes,
Hans
Hans
-
- Administrator
- Posts: 78512
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- PlatinumLounger
- Posts: 4357
- Joined: 26 Apr 2010, 17:36