- Posts: 2
- Thank you received: 0
Assigning default value to a field
12 years 6 months ago #2054
by Marcus
Assigning default value to a field was created by Marcus
Hello
I am new here and trying to load data from delimited file into MySql database
Some of my fields are mandatory but in incoming file the are blank
What I want to do is populate my tables with default values when source field is empty
Can you please let me know how I can make this work.
Marcus
I am new here and trying to load data from delimited file into MySql database
Some of my fields are mandatory but in incoming file the are blank
What I want to do is populate my tables with default values when source field is empty
Can you please let me know how I can make this work.
Marcus
Please Log in or Create an account to join the conversation.
12 years 6 months ago #2063
by admin
Mike
ETL Architect
Replied by admin on topic Re: Assigning default value to a field
The answer is very simple use IsNull function
Attached screenshot explains everything
Mike
Attached screenshot explains everything
Mike
Mike
ETL Architect
Attachments:
Please Log in or Create an account to join the conversation.