title: BLOB database File convert to Octal
body: <p>Using an sqlite3 command line i am converting a BLOB database file to a CSV file. The problem i have is that one column of the CSV columns is in Decimal and i need it to be in OCTAL. I have tried several Sqlite3 functions but has not worked.
  The command line i am using to do the conversion is the following;</p>
  
  <p>for %%a in (*.dB) do sqlite3 -csv -header "%%a" select car,person,country from log_data">%%~na.csv</p>
  
  <p>To convert the column called "car" from decimal to octal I have tried </p>
  
  <p>for %%a in (.dB) do sqlite3 -csv -header "%%a" select CONV(10,car,8),person,country from log_data">%%~na.csv but the function is NOT valid</p>
  
  <p>Does anyone have an ideas how to convert from Decimal to Octal ?</p>