Crystal Reports XI; SQL Server DB;
I need the T-SQL code to select
all companies that are IN certain Regions.
Keep in mind that the field, Region, is an array and holds more than one region.
EXAMPLE DATA for the 2 fields below:
CompanyA Region
Comp1 Europe; Asia;
Comp2 Eastern Europe; India;
Comp3 Europe;
Comp4 USA; North Asia
EXPECTED OUTPUT when filtering on 'Region = Europe or Region = Eastern Europe'
CompanyA Region
Comp1 Europe; Asia;
Comp2 Eastern Europe; India;
Comp3 Europe;
How do I code using T-SQL?
Thank you.
I need the T-SQL code to select
all companies that are IN certain Regions.
Keep in mind that the field, Region, is an array and holds more than one region.
EXAMPLE DATA for the 2 fields below:
CompanyA Region
Comp1 Europe; Asia;
Comp2 Eastern Europe; India;
Comp3 Europe;
Comp4 USA; North Asia
EXPECTED OUTPUT when filtering on 'Region = Europe or Region = Eastern Europe'
CompanyA Region
Comp1 Europe; Asia;
Comp2 Eastern Europe; India;
Comp3 Europe;
How do I code using T-SQL?
Thank you.