Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
There has got to be a way.
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
There has got to be a way.
Divers
Thread ID:
00535196
Message ID:
00535196
Vues:
46
I've been handed this access query to convert to VFP sql passthru and I really don't like my answer to the convertion. I would like any others' ideas.

SQL V 6.5
field a = datetime-----Time portion is incorrect.
field b = char(5)------Has correct time for field a
multible records per
some a and/or b may be null

I did not design either the access query or the SQL data and I can't change the SQL file.

Here is the ACCESS Statement I'm converting. I've got one that works but It's a mile and ahalf long. I know that there has to be a better way.

select Min(CVDate(IIf(([a] & " " & [b])="",Null,[a] & " " & [b]))) AS ARRIVAL

Anyone?

Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform