Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL related query
Message
From
04/03/2002 07:42:02
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
04/03/2002 06:47:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00627701
Message ID:
00627723
Views:
10
Hi Cetin this was missing the bold part.

>select padd1 as address1, padd2 as address2, pcity as city, pState as state ;
> from myTable where !empty(pState) ;
>union ;
>select tadd1 as address1, tadd2 as address2, tcity as city, tState as state ;
> from myTable where !empty(tState) AND !(LOWER(ALLTRIM(tState)) == LOWER(ALLTRIM(PState))) ;
>into cursor myCursor
>
>Cetin
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform