Hi Folks,
For a SQL View I need to concatenate three different columns of a table and group the table by the result of that concatenation and sum a forth column on that grouping, but i cannot find the correct sintax.
I tried using just the "&" (copied the sintax from MS Access "sql" view of a query that produced the results I need), but, as I suspected, it did not quite work back on my SQL View (the columns are from different types: int, smalint and varchar).
Is there a way to achieve that? Are there commands to convert the types so I can concatenate them?
Thank you in advance for your help!
LH
For a SQL View I need to concatenate three different columns of a table and group the table by the result of that concatenation and sum a forth column on that grouping, but i cannot find the correct sintax.
I tried using just the "&" (copied the sintax from MS Access "sql" view of a query that produced the results I need), but, as I suspected, it did not quite work back on my SQL View (the columns are from different types: int, smalint and varchar).
Is there a way to achieve that? Are there commands to convert the types so I can concatenate them?
Thank you in advance for your help!
LH