Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Widen number of records by field
Message
From
04/11/2009 00:30:36
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01432871
Message ID:
01433038
Views:
48
Naomi,

thank you for the help

Agnes
>>Why - this works
>>
>>
>>	create cursor xx (Id I )
>>	insert into xx values(0)
>>	
>>	
>>	select b0+b1+b2+b3+b4+b5+b6+b7 as seq ;
>>		from (	select cast( 0 as int) As b0 from xx ;
>>			union select cast( 1 as int) from xx  ) B0, ;
>>			(	select cast( 0 as int) As b1 from xx ;
>>			union select cast( 2 as int) from xx  ) B1, ;
>>			(	select cast( 0 as int) As b2 from xx ;
>>			union select cast( 4 as int) from xx  ) B2, ;
>>			(	select cast( 0 as int) As b3 from xx ;
>>			union select cast( 8 as int) from xx  ) B3, ;
>>			(	select cast( 0 as int) As b4 from xx ;
>>			union select cast( 16 as int) from xx  ) B4, ;
>>			(	select cast( 0 as int) As b5 from xx ;
>>			union select cast( 32 as int) from xx  ) B5, ;
>>			(	select cast( 0 as int) As b6 from xx ;
>>			union select cast( 64 as int) from xx  ) B6, ;
>>			(	select cast( 0 as int) As b7 from xx ;
>>			union select cast( 128 as int) from xx  ) B7 ;
>>		order by 1
>>
>
>Your table is much smaller, than Boris' <g>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform