📜  在 sql 语句结束后找到的字符 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:27.450000             🧑  作者: Mango

代码示例2
SQL_Output = "SELECT TblTcAOG.ID, TblTcAOG.Date, TblTcAOG.STN, TblTcAOG.REG, TblTcAOG.ATA, TblTcAOG.[ATA2Digit Description], TblTcAOG.ATA4DIGIT, TblTcAOG.ATA2DIGIT, TblTcAOG.ATALAST2, TblTcAOG.[REASON FOR AOG], TblTcAOG.[AOG HRS], TblTcAOG.[AOG MINS], TblTcAOG.AOGTime, TblTcAOG.AOGTotalMins, TblTcAOG.[Event Type], TblTcAOG.[Severity Index], TblTcAOG.[Dispatched IAW MEL], TblTcAOG.[MEL Reference], TblTcAOG.[ETOPS Sector], TblTcAOG.[Charter Flight], tblactype.actypeid, tblactype.Manufacturer, tblactype.Type " & _
                 "FROM (tblactype INNER JOIN TblAcrft ON tblactype.[actypeid] = TblAcrft.[ModelLink]) INNER JOIN TblTcAOG ON TblAcrft.[Reg] = TblTcAOG.[REG]; " & _
                 "WHERE ((TblTcAOG.Date)>=" & dStart & " And (TblTcAOG.Date)<=" & dEnd & " AND ((TblTcAOG.AOGTotalMins)>=[forms]![FrmRptCriteriaAOG]![AOG_Time])) "