Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CHRTRAN() breaks SELECT – SQL command with GROUP BY clause
Message
From
27/06/1998 18:06:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
CHRTRAN() breaks SELECT – SQL command with GROUP BY clause
Miscellaneous
Thread ID:
00112203
Message ID:
00112203
Views:
74
Hi all!
I have found that the CHRTRAN() function breaks SELECT – SQL command with GROUP BY clause.

Example:

CREATE CURSOR PostCode (cPostCode C(15))
INSERT INTO PostCode (cPostCode) VALUES ('M 3 J 1 M 5')
INSERT INTO PostCode (cPostCode) VALUES ('M3J1M5')

* No problem !
SELECT DISTINCT CHRTRAN(cPostCode,' ','') ;
FROM PostCode

* SQL: internal error ???
SELECT CHRTRAN(cPostCode,' ','') ;
FROM PostCode ;
GROUP BY 1

What is wrong with second SELECT – SQL command?

Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform