12case_sensitive.mql 759 B

12345678910111213141516171819202122232425262728293031323334
  1. -- ============================================================
  2. -- Field Case Sensitive 测试
  3. -- ============================================================
  4. -- 1. 查询时使用正确大小写
  5. select s_name, s_Value from /test/aaa/test_syntax where s_name='syntax_001'
  6. /**
  7. output()
  8. **/
  9. ;
  10. -- 2. 查询带不同大小写字段
  11. select s_name, S_EXTRA from /test/aaa/test_syntax where s_name='syntax_001'
  12. /**
  13. output()
  14. **/
  15. ;
  16. -- 3. 查询时使用混合大小写
  17. select s_name, s_data from /test/aaa/test_syntax where s_name='syntax_002'
  18. /**
  19. output()
  20. **/
  21. ;
  22. -- 4. 更新大小写字段
  23. update /test/aaa/test_syntax set S_EXTRA='UPDATED EXTRA' where s_name='syntax_001'
  24. ;
  25. select S_EXTRA from /test/aaa/test_syntax where s_name='syntax_001'
  26. /**
  27. output()
  28. **/
  29. ;