TO REFRESH USE
EXEC ADO TO REFRESH Orders USE SELECT @@IDENTITY as OrderID END-EXEC
Parent topic:
ADO Examples