Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select Into 'self' not possible after Use Again
Message
From
09/03/2000 06:11:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00343598
Message ID:
00343604
Views:
18
>For different purposes, I'm using the SQL Select * From (lcCursorName) Into (lcCursorName).
>However, when I have a cursor made by a SQL 'Select Into Cursor' command and then Use that cursor Again to make it read-writable, this trick of selecting into itself doesn't work anymore. Can anyone tell me what's happening here and how I can work around it (apart from creating the cursor with 'Create Cursor')?


Mark,
Other than some cleanup benefits cursors are "always" written to disk. IMHO take the easy way and select into table.
OTOH if you have a DBC open (or create a temp one) you could create-drop a temp view on the fly.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform