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 truthfulness, 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