在SQL Server中,给定下表:
create table table1 (field1 int)
该表包含1000条记录。下面的sql语句会导致什么结果: ( )
update top (100) table1 set field1=1
将表中只有100条记录的field1列更新为值1
产生错误
将表中所有1000条记录中的字段1列更新为值1
在SQL Server中,给定下表:
create table table1 (field1 int)
该表包含1000条记录。下面的sql语句会导致什么结果: ( )
update top (100) table1 set field1=1
将表中只有100条记录的field1列更新为值1
产生错误
将表中所有1000条记录中的字段1列更新为值1