Skip to content
Prev 179858 / 398506 Next

sqlSave()

Felipe Carrillo <mazatlanmexico <at> yahoo.com> writes:
below:
existing one or if the table didn't
existing 'PredictedValues'
Either try safer = FALSE (great white shark) or append=TRUE (depending on what
you want).

sqlSave(safer = FALSE) uses the 'great white shark' method of testing tables
(bite it and see). The logic will unceremoniously DROP the table and create it
anew with its own choice of column types in its attempt to find a writable
solution. test = TRUE will not necessarily predict this behaviour. Attempting to
write indexed columns or writing to pseudo-columns are less obvious causes of
failed writes followed by a DROP. If your table structure is precious to you
back it up.