--insert fj_studentinfo--select *--from-- openrowset('SQLOLEDB','localhost';'sa';'password',dbname.tablename) as s,-- priv_user as p--where stuprivuserid is null and p.name=s.stuname