home *** CD-ROM | disk | FTP | other *** search
/ 95.86.62.111 / 95.86.62.111.tar / 95.86.62.111 / sql2000 / INSTALL / sqlcommn.loc < prev    next >
Text File  |  1999-05-26  |  4KB  |  107 lines

  1. ; ======================================================
  2. ; SQLCOMMN.LOC - SQL Server Localization file
  3. ; Dated: March-22-1993
  4. ; Not applicable for SQL Server NT 
  5. ;   (for NT use the Control Panel - International Options)
  6. ; ======================================================
  7. ; SAMPLE SQLCOMMN.LOC
  8. ; (comment character is a semicolon.)
  9. ;
  10. ;  This file is a sample.  It can be used to change
  11. ;  the default character formats for datetime and money that
  12. ;  DB-LIB performs when binding these dataypes to characters.
  13. ;  This file is optional.  If no such file is found, DB-LIB
  14. ;  simply uses its default formatting.
  15. ;
  16. ;
  17. ;  For this file to be used, it must be placed in the PATH
  18. ;  or for MS-Windows have its location defined in the
  19. ;  WIN.INI file like:
  20. ;
  21. ;   [SQLSERVER]
  22. ;    SqlLocalizationFile=C:\SQL\BIN\SQLCOMMN.LOC
  23. ;
  24. ;  The file is checked by an application program at the time of
  25. ;  dbinit().  If a file is found (or declared in WIN.INI), but it 
  26. ;  contains invalid entries, dbinit() will return NULL instead
  27. ;  of the DB-LIBRARY version string.  If no file is found or
  28. ;  declared, dbinit() returns the version string and default
  29. ;  formats are used.
  30. ;
  31. ; Currently 'shortmonths', 'dateformat', and
  32. ; 'timeformat' are the only entries used by DB-Library.
  33. ;
  34. ; 'months' and 'days' are reserved for future use.
  35. ; For additional datetime formatting, use the SQL Server
  36. ; convert() function.
  37. ;
  38. [file format]
  39.         ; left and right brackets will delimit section titles. 
  40.         ; Any special character, including the comment character 
  41.         ; and the section-title delimiters, may be interpreted 
  42.         ; literally by preceding them with the escape character. 
  43.         ; In addition, any line that ends with the escape character 
  44.         ; will be continued onto the next line.
  45.         version=4.2             ; First International Release 
  46.         list_separator=,        ; commas will separate the members of a list. 
  47.         escape=\                ; backslash is the escape symbol.
  48. [language] 
  49.         language=us_english
  50. [copyright]
  51.         copyright= "Microsoft Corporation.  Copyright 1992.\
  52.         Sybase, Inc. 6475 Christie Avenue, Emeryville, CA 94608
  53.         Copyright 1992"
  54.  
  55. [datetime] 
  56.         months= January,February,March,April,May,June,July, \
  57.         August,September,October,November,December
  58.  
  59.         shortmonths= Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep, \
  60.                 Oct,Nov,Dec
  61.  
  62.         ; The list of day-names must begin with the local equivalent of 
  63.         ; Monday, which is the first day of the week in most places. 
  64.         
  65.  
  66.         days=Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday
  67.  
  68.         firstday = 1    ; Monday is the first day week. 
  69.  
  70.         ; The date format specifier consists of the 3 characters 
  71.         ; 'm', 'd', and 'y' in any order. The order of these characters 
  72.         ; determines the appearance of the month, day, and year in 
  73.         ; a datetime string. Each of the characters 'm', 'd', and 'y' 
  74.         ; must appear exactly once. 
  75.  
  76.     dateformat=mdy
  77.  
  78.         ; The time format specifier consists of the number "12" or "24", 
  79.         ; to designate the 12-hour or 24-hour time system. 
  80.         ; Use of 12-hour format includes an AM or PM designation.
  81.  
  82.     timeformat=12
  83. [money] 
  84.         ; The currency format specifier consists of two parts: 
  85.         ; This format is currently not used in DB-Library which
  86.         ; does not print currency symbol at all.  It is
  87.         ; reserved for future use.
  88.         ; 
  89.         ;       1) The letter "B" or "A", which means that the currency 
  90.         ;          symbol should appear before or after the amount, 
  91.         ;          respectively. 
  92.         ;
  93.         ;       2) The currency symbol. It may consist of more than one 
  94.         ;          character (e.g. "kr" for kroner). If the currency 
  95.         ;          symbol is unavailable on your keyboard, it may 
  96.         ;          be described as a hexadecimal character constant 
  97.         ;          (e.g. 0x23 or 0xe322). 
  98.         ;
  99.         ; decimal separator should be enclosed in single quotes.
  100.         ;
  101.         ; thousand separator should be enclosed in single quotes.
  102.     
  103.         moneyformat=B,$ 
  104.     decimal_sep='.'
  105.     thousand_sep=','
  106. 
  107.