various.
This commit is contained in:
@@ -33,7 +33,8 @@ EOF
|
||||
insert INTO Symbols
|
||||
select DISTINCT Symbol
|
||||
from OptionQuotes
|
||||
where OptionQuotes.Symbol not in (select Symbol from Symbols);
|
||||
where OptionQuotes.Symbol not in (select Symbol from Symbols)
|
||||
and Symbol!='';
|
||||
EOF
|
||||
)
|
||||
echo "${symbolUpdateSQL}" | sqlite3 consolidated.sqlite3
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "YOU DONT WANT TO RUN THIS - it will destroy the db."
|
||||
exit 7
|
||||
|
||||
mkdir -p processedDBs
|
||||
|
||||
rm consolidated.sqlite3
|
||||
|
||||
Reference in New Issue
Block a user