Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. $ locale | grep LC_CTYPE
  2. LC_CTYPE=en_US.UTF-8
  3.  
  4. $ db2 connect to sample
  5.  
  6. Database Connection Information
  7.  
  8. Database server = DB2/LINUXX8664 10.5.5
  9. SQL authorization ID = USER1
  10. Local database alias = SAMPLE
  11.  
  12. $ db2 values current date
  13.  
  14. 1
  15. ----------
  16. 09/26/2016
  17.  
  18. 1 record(s) selected.
  19.  
  20.  
  21. $ db2 terminate
  22. DB20000I The TERMINATE command completed successfully.
  23.  
  24. $ export LC_CTYPE=fr_FR.UTF-8
  25.  
  26. $ db2 connect to sample
  27.  
  28. Database Connection Information
  29.  
  30. Database server = DB2/LINUXX8664 10.5.5
  31. SQL authorization ID = USER1
  32. Local database alias = SAMPLE
  33.  
  34. $ db2 values current date
  35.  
  36. 1
  37. ----------
  38. 26.09.2016
  39.  
  40. 1 record(s) selected.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement