Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Yoda coding styles
Message
 
À
23/04/2006 16:19:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01115355
Message ID:
01116079
Vues:
18
>I think one should keep an open mind. For example, in a recent message to me Fabio Lunardon used the following:
SELECT cFromIP ;
>	,	cPortProt ;
>	,	cToPDom ;
>	,	cToFDom ;
>	,	COUNT(*) counts ;
>INTO CURSOR GpTest1 ;
>		FROM Logs1;
>		GROUP BY 1,2,3,4
I don't know if Fabio purposely wanted tabs expanded out to 8 characters but that's not what's interesting here. I'd never before considered putting the comma for a list extension at the START of a new line, but it's thematic in the same way as:
* This

Old School SQL DBA is what I see there.

As your building line by line, or removing, you never get buned in any part of your statement because the connections needed are on the same line.

Much like creating dynamic SQL

SQLstring = SQLstring + iif(colCount>1,', ','') + ColName
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform