Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Os: MS XP Excel: MS 2000
Im using Microsoft Query. I would like to concatenate within the query. How is this done with the SQL in the query? Thanks in advance. -- Richard |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Richard
I think it depends on the driver you are using, but assuming you are querying an SQL Server db then the following works for me: SELECT Field1 + '_' + Field 2 FROM Table so + is the concatenation operator here (the value between the single quotes is a string literal being concatenated). Hope this helps! Richard Richard wrote: Os: MS XP Excel: MS 2000 I'm using Microsoft Query. I would like to concatenate within the query. How is this done with the SQL in the query? Thanks in advance. -- Richard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Microsoft Query | Excel Discussion (Misc queries) | |||
changing query source | Excel Worksheet Functions | |||
Get External Data - not editable using Query Wizard | Excel Discussion (Misc queries) | |||
Creating Date Range in Pivot Microsoft Query | Excel Discussion (Misc queries) | |||
Any alternative to Microsoft Query? | Excel Discussion (Misc queries) |