Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP SQL Syntax - Tuesday BrainFreeze
Message
De
11/07/2007 11:15:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/07/2007 11:03:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01238981
Message ID:
01239301
Vues:
9
Yes, it's getting smarter each day, the question is why it wasn't smart to Tracy:)
Cetin

>hmmm....I agree, something is up. I even tried it with table2 having no records, using iif() instead of nvl():
>
>
>select aid, aagcy, iif(isnull(bvalue),'a',bvalue) as bvalue ;
>    from table1 ;
>    left join table2 on (table2.bidv = table1.aid) into cursor tempo readwrite
>
>
>bvalue was the right length in the resulting recordset. VFP's pretty smart I guess. :)
>
>
>
>>Steve,
>>That is not true. First record being null or not doesn't affect the resulting size. It's known by VFP using the fieldsize of bvalue.
>>Cetin
>>
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform