33update.mql 687 B

123456789101112131415161718192021222324252627282930313233
  1. update /test/测试缓存库 set 文本=NULL where 字符串!='3'
  2. /**
  3. onerror(must,"can't update primary key")
  4. **/
  5. ;
  6. select class,id,vtime,字符串,文本,文字 from /test/测试缓存库 where 字符串!='3'
  7. /**
  8. output()
  9. count(3)
  10. **/
  11. ;
  12. update /test/测试缓存库 set 文字=NULL where 字符串!='3'
  13. ;
  14. select class,id,vtime,字符串,文本,文字 from /test/测试缓存库 where 字符串!='3'
  15. /**
  16. output()
  17. matchcount(文字,null,3)
  18. **/
  19. ;
  20. update /test/测试缓存库 set 文字='test update null' where 字符串!='3'
  21. ;
  22. select class,id,vtime,字符串,文本,文字 from /test/测试缓存库 where 字符串!='3'
  23. /**
  24. output()
  25. matchcount(文字,"test update null",3)
  26. **/
  27. ;