工作中的感悟

今天在工作中走了很多的弯路,仔细回想下  是自己的基础知识太薄弱了,很多知识点都是似是而非的状态,一知半解的,比如 linq中的entity.select(e=>e.Name).contians("sa") 竟然不知道到底返回的是社么类型,要有的专业精神

还有就是sql的类型装换,完全没有印象了 

              select MAX (cast(right(CatayCode,6) as int)) from item  where ParentId=9
      select MAX (id) from item  where ParentId=9

select MAX (cast(right(CatayCode,6) as int)) from item  where ParentId=20)+1 返回来的就是一个数值,不用再转换了

     set @CatayCode=( select CatayCode from item  where id=20)+'001' 赋值是 要有括号的哎 不求甚解的下场啊 

      在很多时候我们痛苦、无助无奈  ……不是我们不行,只是我们不够努力……当拼命的时候,别人会有多少人在玩命呢?一懒二拖三不改进 要么失业要么失恋

posted @ 2014-05-20 23:48  小菜鸟飞飞  阅读(194)  评论(0编辑  收藏  举报