Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to prevent data lost or data corruption?
Message
De
24/11/2006 18:08:50
 
 
À
24/11/2006 15:56:09
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01172197
Message ID:
01172362
Vues:
20
I ment what happened if the server abruptly lost its power, not the workstation.

>Something smells fishy about that statement. I hope that if a SQL statement is not properly formed, SQL Server won't do anything with it.
>
>lcName = "Something"
>sqlexec(gnConnection,"insert into table sometable (name) values (?lcName)")
>
>If the power should fail on my PC while the statement is being sent...
>
>SQL would receive
>
>"insert into sometable (nam"
>
>and an error would be generated.
>
>If there is some kind of delimiter expected on both ends of the statement, then upon failing to receive a terminating delimiter, SQL would do nothing at all.
>
>I guess I'm asking for someone to please demonstrate how SQL Server could lose data due to a PC power failure.
>
>Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform