Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Concatenating strings w/ SQL SELECT
Message
From
03/08/2001 09:04:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Concatenating strings w/ SQL SELECT
Miscellaneous
Thread ID:
00539337
Message ID:
00539337
Views:
52
I have a table:

Name code
text1 2
text2 2
text3 2
text4 3
text5 3

I want to create a cursor gruped by code w/ concatenated Name field:

Cursor1
Name code
Text1, Text2, Text3 2
Text4, Text5 3

but I don't know how:

SELECT ???? AS Name, Code FROM MyTable GROUPED BY MyTable.Code INTO CURSOR Cursor1.


TIA


Boris
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Next
Reply
Map
View

Click here to load this message in the networking platform