單項(xiàng)選擇題TRUNCATE TABLE 和 DELETE TABLE的區(qū)別是()

A.TRUNCATE TABLE 刪除數(shù)據(jù)后可以恢復(fù),而DELETE 不可以恢復(fù)
B.TRUNCATE TABLE 刪除數(shù)據(jù)后不可以恢復(fù),而DELETE 可以恢復(fù)
C.兩者刪除數(shù)據(jù)過后都可以恢復(fù)
D.兩者刪除數(shù)據(jù)后都不可以恢復(fù)


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題從authors 數(shù)據(jù)庫中查詢出所有au_id滿足前2個(gè)字符為”72”,第四個(gè)字符為”-“的作家的姓名,下面哪一條語句滿足條件()

A.select * from authors where au_id =”72_-%”
B.select au_id=72_-% from authors
C.select * from authors where au_id like “72*-%”
D.select * from authors where au_id like “72_-%” _代表任意一個(gè)字符

2.單項(xiàng)選擇題下面哪一條語句實(shí)現(xiàn)了下列功能:在authors數(shù)據(jù)庫中查找所有姓名以d 打頭的作家()

A. select * from authors where au_name=”d”
B. select “d” from authors
C. select * from authors where au_name like “d%”
D. select au_name like “d%” from authors

3.單項(xiàng)選擇題select au_id from authors where price<$15 or price >$ 20.下面哪一條語句與這一條語句執(zhí)行效果相同()

A. select au_id from authors where price IN($15,:$20);
B. select au_id from authors where price between $15 and $20
C. select au_id from authors where price not between $15 and $20
D. select au_id from authors where price not IN($15,$20);

4.單項(xiàng)選擇題select au_id from authors where state=”ca” or state=”ks”.下面哪一條語句與這一條語句執(zhí)行效果相同()

A. select au_id from authors where state IN(“ac”,:”sk”);
B. select au_id from authors where state between ac and sk
C. select au_id from authors where state not between ca and ks
D. select au_id from authors where state IN(“ca”,:”ks”);

5.單項(xiàng)選擇題SQL SERVER 2000中,可以用下面哪一條語句把a(bǔ)uthors表重命名為表student()

A.sp_renamedb authors student
B.sp_rename  authors  student
C.sp_renamedata authors student
D.sp_renameview authors student