问题 填空题

当事务中的一部分操作失败时,整个事务应全部视为错误,事务对数据库所做的任何改变必须撤销,这称为 【12】

答案

参考答案:回滚

解析: 如果事务中的所有操作都成功执行,这个事务称为已提史事务。如果一个事务有部分操作未能成功完成,则称为中止事务,中止事务对数据库所做的任何修改必须撤销,这称为回滚(rollback)。

阅读理解

根据短文内容,判断下列句子是(T)否(F)正确。

     A man walked into a doctor's examing room. "Put out your tongue," the doctor said. "OK. You can put your

tongue back now," the doctor said. "It's clear what's wrong with you. You need more exercise." "But, doctor,"

the man said. "I don't think..." 

     "Don't tell me what you think," the doctor said, "I am the doctor, not you. I know what you need. I see

hundreds of people like you. None of them get any exercise. They sit in offices all day and in front of the

television in the evening. What you need is to walk quickly for at least 20 minutes a day." 

     "Doctor, you don't understand," the patient said, "I..." 

     "I don't want to hear any excuses," the doctor said, "You must find time for exercise. If you don't, you will

get fat and have health problems when you are older." 

     "But I walk every day," the patient said. 

     "Oh, yes, and I know what kind of walking that is. You walk a few meters to the train station from your

house, a few more meters from the station to your office, and a few more meters from your office to a

restaurant for lunch and back." 

     "Please listen to me, doctor!" the patient shouted, getting angry. 

     "I''m a mailman," the patient went on, "and I walk for seven hours every day." 

      For a moment the doctor was silent, then he said quietly, "Put your tongue out again, will you?"

( ) 1. The doctor examed the man's tongue.

( ) 2. The doctor believed that the patient was lack of (缺乏) exercise at first.

( ) 3. The doctor asked the patient to walk for seven hours a day.

( ) 4. The patient was satisfied with what the doctor said.

( ) 5. The doctor was not patient and careful.

连词成句