Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I use MS Query with data in text files. Now the text file has been moved to a
new location where the path name includes a "$" sign. This is not accepted by MS Query. My SQL looks like this: SELECT Airports.Currency, Airports.Market FROM `\\aaa.xyz.qwe.int\groups$\Shared\Data`\Airports.c sv Airports It works fine if I map the drive with net use N: \\stoeai00.emea.kuoni.int\groups$ and change the SQL to SELECT Airports.Currency, Airports.Market FROM `N:\Shared\Data`\Airports.csv Airports But I cannot do the drive mapping for all my users. I would really appreciate help! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Jul 30, 1:23*pm, FredAker
wrote: I use MS Query with data in text files. Now the text file has been moved to a new location where the path name includes a "$" sign. This is not accepted by MS Query. My SQL looks like this: SELECT Airports.Currency, Airports.Market FROM `\\aaa.xyz.qwe.int\groups$\Shared\Data`\Airports.c sv Airports It works fine if I map the drive with * net use N: \\stoeai00.emea.kuoni.int\groups$ and change the SQL to SELECT Airports.Currency, Airports.Market FROM `N:\Shared\Data`\Airports.csv Airports But I cannot do the drive mapping for all my users. I would really appreciate help! you need to escape the $. In MS SQL single quote is the escape character . so you may change your query to : SELECT Airports.Currency, Airports.Market FROM "\\aaa.xyz.qwe.int\groups'$\Shared\Data"\Airports. csv Airports |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
PERCENTILE with an IF Clause | Excel Worksheet Functions | |||
IF Clause | Excel Worksheet Functions | |||
how can i change dollar sign to rupee sign in sales invoice | Excel Discussion (Misc queries) | |||
how can i query an sheet with a where clause....from c# code using | Charts and Charting in Excel | |||
"Between" in an IF clause | Excel Discussion (Misc queries) |