根据考试批次(exor)和考场号(exnu)条件从Access表student中取得纪录,而条件考试批次(exor)和考场号(exnu)是在delphi 应用服务端中老师输入的,
将符合条件的纪录插入到sql Server 表student中,用存储过程的话,我想问变量怎么给到存储过程中去?也可以多写些代码。(delphi中的两个变量分别为ExamOrder和ExamNumber)creat procdure  GetStudeninfo
asselect * into dbstudentinfo.student(Exid,level,class,score,exor,exnu) select Exid,level,class,score,exor,exnu
from opendatasource('Microsoft.jet.OlEDB 4.0','datasource="d:\baoming\student.mdb";user='admin;password=')  student
Go请各位大哥帮我完善代码,主要是变量在存储过程中怎么弄?delphi中的变量怎么样传递到SQL Server 存储过程当中?