陳占的開發社區
只要相信這是對的。。。它永遠不會錯。。。
Tuesday, August 31, 2010
Delete d duplicate既record
delete from accountsubledgertransaction
where transactionid in(
select min(transactionid) as transactionid from AccountSubledgerTransaction
where type='inv'
group by DocRefId
having count(*)>1
)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment