摘要:
Configure Git for the first time git config --global user.name "" git config --global user.email "" Working with your repository I just want to clone 阅读全文
摘要:
1、问题:为什么 testVO方法能够通过锁解决原子性问题,testVo1方法不能够通过锁解决原子性问题? public class TestVolatile { private volatile int num = 0; private int count = 0;//完成线程累加 private 阅读全文
摘要:
今天看公司代码看到这条SQL语句,感觉挺有意思,之前从未使用过的Using关键词。 DELETE FROM tve USING TRIPS_VERIFICATION tve,TRIP t WHERE tve.TRIP_ID=t.ID AND t.SERVICE_DAY = ? 百度后发现只有USIN 阅读全文
摘要:
1、sql server取分组后的每组的第一条数据 select * from ( select F_Id,F_EnCode,F_FullName,F_LotNum,ROW_NUMBER() OVER(PARTITION BY F_EnCode,F_FullName ORDER By F_Creat 阅读全文