比如下面的sql语句:
select tr_memup.USERS_CORP_CD, USERS_SHOP_CD, tr_memup.USERS_MACHINE_CD, CORP_NM, tr_memup.CORP_J, CORP_TEL, CORP_ZIP, from tr_memup, mt_deal, mt_reason, mt_industry, mt_account, mt_machine, mt_corp where NEW_SEQ_NO = '12345' and tr_memup.USERS_CORP_CD = mt_corp.CORP_CD(+) and tr_memup.REASON_CD = mt_reason.REASON_CD(+) and tr_memup.ACCOUNT_TYPE_CD = mt_account.ACCOUNT_CD(+) and tr_memup.DEAL_CD = mt_deal.DEAL_CD(+) and tr_memup.INDUSTRY_CD = mt_industry.INDUSTRY_CD(+) and tr_memup.USERS_CORP_CD = mt_machine.USERS_CORP_CD(+) and tr_memup.USERS_MACHINE_CD = mt_machine.USERS_MACHINE_CD(+)
其中的NEW_SEQ_NO = '12345'用NEW_SEQ_NO = "12345"来代替是否一样?
|