Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP SQL Syntax - Tuesday BrainFreeze
Message
 
 
À
11/07/2007 11:12:33
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:
01239311
Vues:
8
>HA!
>That is something new to me!
>This is not written anywhere, or at least I couldn't found it.
>It works even with SET ENGINEBEHAVIOR 70:
>
>SET ENGINEBEHAVIOR 70
>
>
>CREATE CURSOR Table1 (Aid  I, AAGcy I)
>CREATE CURSOR Table2 (bidv I, bvalue C(20))
>INSERT INTO Table1 VALUES (1, 1)
>INSERT INTO Table1 VALUES (1, 2)
>
>INSERT INTO Table2 VALUES (2, [aaaaaaaa])
>
>
>select aid, aagcy, NVL(bvalue,'a') as bvalue ;
>    from table1 ;
>    left join table2 on (table2.bidv = table1.aid);
>ORDER BY Table1.Aid;
>into cursor tempo readwrite
>WAIT WINDOW LEN(tempo.bvalue)
>BROWSE NORMAL
>
When the calculated field length is calculated based on a first matching record and when it is not?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform