is it possible to concatenate fields in my query using sql access(querying using excel).
My current query is :
Select *
FROM [table$]
But how do I add a new field which concatenates colA&"|"&colB&"|"&colC&"|"&colD
Thanks.
You seem to understand the expression; just add it to the select:
select t.*, (t.colA & "|" & t.colB & "|" & t.colC & "|" & t.colD) as new_field
from [table$] as t;
[colA] , also can I add a where query to query this new field?where clause. But new_field is not available unless you use a subquery.