HomeForum
Welcome, Guest

Assigning default value to a field
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Assigning default value to a field

Assigning default value to a field 1 year, 2 months ago #2054

  • Marcus
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
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

Re: Assigning default value to a field 1 year, 2 months ago #2063

  • admin
  • NOW ONLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
The answer is very simple use IsNull function

Attached screenshot explains everything

Mike
Attachments:
  • Page:
  • 1
Time to create page: 0.14 seconds

Testimonials

"DBSL software makes it much easier for us to enable new customers for automatic order processing. This alone sets us apart from the competition."

M. Clock, Director,
Clock Logistics

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top