Re: [SQL] Query to return modified results at runtime?

2006-06-08 Thread George Handin
Richard Broersma Jr wrote: IDColor --- --- 1 Blue 2 Red 3 Green 4 Orange How would I rewrite the query to return results where the colors are replaced by letters to give the following results? IDColor --- --- 1 A 2 D 3 B 4 C http://www.po

[SQL] Concat two fields into one at runtime

2006-06-08 Thread George Handin
name --- --- 1 George Handin 2 Joe Rachin ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

[SQL] Query to return modified results at runtime?

2006-06-07 Thread George Handin
I have a query: SELECT * FROM testtable; Where the results are: IDColor --- --- 1 Blue 2 Red 3 Green 4 Orange How would I rewrite the query to return results where the colors are replaced by letters to give the following results? IDColor --- --- 1 A 2