Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Expand data with Select statement?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Expand data with Select statement?
Miscellaneous
Thread ID:
00805975
Message ID:
00805975
Views:
56
Hi all,
Is it possible to write a select statement that can take a quantity and add that many records to the result?
What I am trying to achieve is to start with a file containing:
Qty   Desc
 3    Hello
 2    Goodbye
And get a resulting table of:
Hello
Hello
Hello
Goodbye
Goodbye
is this possible or must I just use the old Scan and Insert method?

Thanks in anticipation.
Caroline
Caroline
Next
Reply
Map
View

Click here to load this message in the networking platform