TryToUint64.sql 643 B

1234567891011121314151617181920212223242526
  1. SELECT
  2. Unicode::TryToUint64("hell", 10);
  3. SELECT
  4. Unicode::TryToUint64("01238", 8);
  5. SELECT
  6. Unicode::TryToUint64("0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", 16);
  7. SELECT
  8. Unicode::TryToUint64("0", 1);
  9. SELECT
  10. Unicode::TryToUint64("0x1234abcd", 16),
  11. Unicode::TryToUint64("0X4", 16),
  12. Unicode::TryToUint64("0644", 8),
  13. Unicode::TryToUint64("0101010", 16),
  14. Unicode::TryToUint64("0101010", 2),
  15. Unicode::TryToUint64("0101010", 10),
  16. Unicode::TryToUint64("101", 10);
  17. SELECT
  18. Unicode::TryToUint64("0", 8),
  19. Unicode::TryToUint64("0", 10),
  20. Unicode::TryToUint64("0", 16),
  21. Unicode::TryToUint64("0");