陈
陈晨
Unregistered / Unconfirmed
GUEST, unregistred user!
DECLARE Employee_Cursor CURSOR FOR SELECT name, id
FROM base_data
WHERE id = id OPEN Employee_Cursor FETCH NEXT
FROM Employee_Cursor WHILE @@FETCH_STATUS = 0 BEGIN FETCH NEXT
FROM Employee_Cursor END CLOSE Employee_Cursor DEALLOCATE Employee_Cursor
为何上面这一段只能得到一条纪录???
base_data 里面不止1条纪录??
FROM base_data
WHERE id = id OPEN Employee_Cursor FETCH NEXT
FROM Employee_Cursor WHILE @@FETCH_STATUS = 0 BEGIN FETCH NEXT
FROM Employee_Cursor END CLOSE Employee_Cursor DEALLOCATE Employee_Cursor
为何上面这一段只能得到一条纪录???
base_data 里面不止1条纪录??