I have this code:
ColumnInformation=`sqlite3 $database "PRAGMA table_info($table);"`
and it works perfect, but I need add the if statement:
if [$table != "Order"]; then
ColumnInformation=`sqlite3 $database "PRAGMA table_info($table);"`
else
ColumnInformation=`sqlite3 $database "PRAGMA table_info('Order');"`
fi
it throws command not found error. Could you tell me why ?
best, Tomek
[and].