Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Problem
Message
From
07/10/2004 03:02:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
SQL Problem
Miscellaneous
Thread ID:
00949437
Message ID:
00949437
Views:
50
Hi Everyone

I am having a problem with an SQL statement into an SQL89 Progress database. I have 4 fields in the database itmg_nm,sub1,sub2,sub3 that work together in a hierarchy for example table

GNRL HIN BUT AAA
GNRL HIN CLA AAA
GNRL MOO BBB CCC
HAND SAW
HAND WIC JJJ
HAND WIC PPP

The lower levels (sub1,sub2,sub3) do not always have a value. I want a select statement that would select from the above example only following records

GNRL HIN CLA AAA
GNRL MOO BBB CCC
HAND SAW
HAND WIC JJJ

Because I'm using SQL89, I can't seem too use any concatenating functions in the select statement. Has any one any ideas how a select statement could be written to extract only this information.

Thanks
Darren
Next
Reply
Map
View

Click here to load this message in the networking platform