simonw/db-to-sqlite

Oracle number columns become integer in sqlite

Open

#17 opened on Jul 11, 2019

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (34 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (495 stars)
PR merge metrics
 (PR metrics pending)

Description

The database I'm working with has several columns set as number in Oracle. This utility creates the fields as integer in sqlite. It works if I remove the two fields that are number fields from my query. Otherwise it runs up until it encounters a noninteger number and then errors out with "Error binding parameter 64 - probably unsupported type" Additionally, I'm currently only including 6 fields in my select query, I don't know why it has 64 or more parameters.

Contributor guide