我收到了标题中提到的错误,现在我的 Access 查询将无法在设计视图中打开。我检查了 SQL 语句中是否有任何保留字符,但我似乎找不到任何保留字符。这让我真的很难过,任何输入(或解释)都会有所帮助!
SQL查询如下:
SELECT dbo_REP_PROFILE.CRD_NUMBER, dbo_CONTACT.FIRST_NAME, dbo_CONTACT.MIDDLE_NAME
, dbo_CONTACT.LAST_NAME, dbo_REP_ALIAS.FIRM_ID, dbo_REP_ALIAS.OFFICE_ID
, dbo_REP_ALIAS.TRADE_REP, dbo_CONTACT_ADDRESS.ADDRESS_LINE_1
, dbo_CONTACT_ADDRESS.ADDRESS_LINE_2, dbo_REP_ALIAS.CONTACT_ID
, dbo_REP_ALIAS.PRIMARY_YN, dbo_CONTACT.BUSINESS_PHONE
, dbo_CONTACT.EMAIL_ADDRESS
INTO [SalesPage Reps]
FROM ((dbo_CONTACT
INNER JOIN dbo_REP_ALIAS ON dbo_CONTACT.CONTACT_ID=dbo_REP_ALIAS.CONTACT_ID)
INNER JOIN dbo_REP_PROFILE ON dbo_REP_ALIAS.CONTACT_ID=dbo_REP_PROFILE.CONTACT_ID)
INNER JOIN dbo_CONTACT_ADDRESS ON (dbo_CONTACT.CONTACT_ID=dbo_CONTACT_ADDRESS.CONTACT_ID)
AND (dbo_CONTACT_ADDRESS.CONTACT_ADDRESS_ID=dbo_CONTACT.ADDRESS_1_ID)
WHERE (((dbo_REP_PROFILE.CRD_NUMBER) Is Not Null)
AND ((dbo_REP_ALIAS.CONTACT_ID) Is Not Null)
AND ((dbo_REP_ALIAS.PRIMARY_YN)='Y'));