I am trying the following statement:
insert into tblStudent_Sponsor(intStudentID, intSponsorID)
values
select distinct studentid,sponsorid
from tblContractRates
and I am getting:
Server: Msg 156, Level 15, State 1, Line 3
Incorrect syntax near the keyword 'select'.
I am sure this is a brain-freeze