几个语句中用分号.
例:
StringBuilder sql = new StringBuilder();
sql.AppendLine("Delete fms_TestHistory where RecordId = @recordId and TstOrderNo = @tstOrderNo;");
sql.AppendLine("Insert into fms_TestHistory(RecordId, TstOrderNo, Sex, Age, TestDatetime, UserID)");
sql.AppendLine("Values(@recordId, @tstOrderNo, @sex, @age, @testDatetime, @userID)");