× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
lcotton reported 2017-01-12T14:44:32Z  · SachinPrakash last modified 2017-01-17T16:15:03Z

Import data from Excel file, provide default value for blank cells to non-nullable columnns


customer request
Priority Low
Complexity Unknown
Component Tools - Excel Import
Version 17.0

When I import from Excel 2007 file into an existing table, I often have non-nullable bit-type columns in the existing table, but haven't provided a column for that column.

In the Destination Table Column Mapping block, I can choose to select no import-source column to map to the non-nullable column, but ADS by default attempts to assign (null) to the import, which fails as the column is non-nullable.

Is there a way to specify a default value to insert during import if the incoming column is blank? Could this be added?

My workaround is to to the source Excel file and add columns with all FALSE or TRUE values so that I can have something to map. 

The non-nullable column does have a default value (0) defined in the table definition, BTW, but this is not used in the import function. Even just honoring that would be helpful.

10 attachments

Issue #14923

Closed
Fixed
Resolved 2017-01-12T22:49:47Z
 
 
Completion
No due date
Fixed Build 17.0.11-3, 18.0.0-preview-7
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017