Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is faster: insert from memvar or insert fields?
Message
De
31/07/2006 12:39:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
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
Database:
Visual FoxPro
Divers
Thread ID:
01139366
Message ID:
01141849
Vues:
16
>>>>Set null off
>>>>
>>>>PS: Nulls are evils. Don't use them if unless you really know what you're doing. Generally they are over used when one really doesn't need them.
>>>>Cetin
>>>
>>>Here is the rule we're using in our system: ALL FK fields can be either value or NULL, they should never be empty. All non-FK fields should be either empty or value. Our RI allow to have NULLs in FK.
>>>
>>>Anyway, looks like I need to switch back to SET NULL OFF and just explicitly set all FK fields for Trans to be null if they are not in Stage_trans.
>>
>>Change your rules.
>>Cetin
>
>What do you mean here? AFAIK even native RI doesn't allow blanks in FK fields.

What is native RI? You ignore it or set it. What does it matter if FK is null or empty when you're ignoring it. The only thing that matters is managing the nulls complexity.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform