Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lose data in > 10 character field names...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00756626
Message ID:
00756630
Views:
10
Mike,

SORT command creates a free table. SQL Select creates a cursor. A cursor exists inside an application it's created in. So any additional info, as long fields names for example, can be associated with it in application memory. A free table, on other hand, is persistent on the disk or other media and it doesn't have place to store such additional info.

>What is the difference between the two tables? One is created by SQL and is not associated with the DBC and the other is created by sort or copy and is not associated with a DBC either. Why dose the copy / sort have the 10 character name limitations when creating output file and SQL does not?
>
>>What about
SELECT * FROM mytable ;
>>  ORDER BY field1, field2 ;
>>  INTO CURSOR tempfl NOFILTER
>>SELECT mytable
>>ZAP
>>APPEND FROM ( DBF("tempfl") )
>>
>>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform