Mike Yearwood
Toronto, Ontario, Canada
Environment versions
Network:
Windows 2003 Server
>>Reyqie,
>>
>>SQL Server cannot prevent data loss if your data entry PCs are "freezing".
>
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only