Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single Row for SQL Union
Message
De
01/12/2000 03:35:04
Peter Walburn
Omega Data Services Ltd
Aberdeen, Royaume Uni
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00447397
Message ID:
00447924
Vues:
8
>
>Try something like:
>select proread.la_idla,desc1 = case usertab.us_type when 'IT' then usertab.us_desc else '' end,
>   desc2 = case usertab.us_type when 'RE' then usertab.us_desc else '' end
>   from proread, usertab
>   where proread.pr_inttype=usertab.us_code
>HTH.

This doesn't do what I need, but it will probably help. It's somehting for me to play with.

Thanks,

Pete
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform