Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Huge SDF
Message
 
 
To
05/06/2001 12:31:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00515172
Message ID:
00515214
Views:
11
>>>>Hi everybody,
>>>>
>>>>I have this problem, which I'm seeking the best solution. I want to extract ~2mln. records from database into SDF file. I can do it in one SQL, but it produces first line with Field names. I don't want them. What's the best way to get rid on field names? Do I need to go SQL into table then copy to file?
>>>
>>>What's wrong with copy to .. SDF ?
>>>Cetin
>>
>>Oops again, would not work. In our database we have address field and we don't have busres field. Customer wants StNum, Street fields and BusRes field.
>>So, I have to create SQL like this:
>>
>>select lastname, firstname, padr(substr(Address,1,at(' ',Address)),6) as StNum, ;
>>padr(ltrim(substr(Address,at(' ',Address))),25) as Street, State, ;
>>Zip, Phone, 'R' as BusRes
>>
>>So I think I have to use two steps here. It would be easier, though job would run quite long... It's one in year job, so that's not a big deal.
>>
>>Thanks again.
>
>Then 'set heading off'
>Cetin

I guess I never remember this one. Great, this would work.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform