Oracle 里可以这样写,不考虑performance阿
select a.*
from a, account b
where instr(a.accountinfo, b.accountnum) > 0
Oracle 里可以这样写,不考虑performance阿
select a.*
from a, account b
where instr(a.accountinfo, b.accountnum) > 0
•
Oracle的instr和SQLSvr的charindex都可以,用like的话还要有%
-glassfish-
♂
(0 bytes)
()
03/10/2011 postreply
02:14:45
•
不及格,没加 DISTINCT!!!
-HUDIEMI-
♂
(0 bytes)
()
03/10/2011 postreply
19:56:53
WENXUECITY.COM does not represent or guarantee the truthfCCPA ulness, accuracy, or reliability of any of communications posted by other users.
Copyright ©1998-2025 wenxuecity.com All rights reserved. Privacy Statement & Terms of Use & User Privacy Protection Policy