Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default SQL REPLACE Statement (or similar) in MS Query


Hi,

I'm trying to create an SQL query using Excel as the datasource, the
query should either either replace one value with another or create a
new field on the basis of the first. My query is returning "A","B","C"
etc. but I want to alias this with another value e.g. "1","2","3" and
then make use of the aliased value elsewhere in the query.

I've tried using a CASE statement but this doesn't seem to be supported
when Excel is the datasource.....does anyone have any ideas how I can do
this?

Thanks


--
iain_m
------------------------------------------------------------------------
iain_m's Profile: http://www.excelforum.com/member.php...o&userid=34107
View this thread: http://www.excelforum.com/showthread...hreadid=538792

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
if statement or other methds to find similar data Funky[_2_] Excel Worksheet Functions 2 April 25th 08 03:33 PM
how to create automatic macro with if statement or similar betatryck_se Excel Discussion (Misc queries) 2 December 14th 05 11:32 AM
IF statement with logical_value that is similar to this 0 Mortgage Man Excel Worksheet Functions 6 August 31st 05 10:51 PM
Combine query to count products with similar names pomalley Excel Worksheet Functions 8 April 22nd 05 02:15 AM
VBA 97 does noet have Replace: anything similar ? Peter[_21_] Excel Programming 1 August 11th 04 07:36 PM


All times are GMT +1. The time now is 09:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"