Skip navigation links

MySQL Forums :: MySQL Query Browser :: Column can not be null


Advanced Search

Column can not be null
Posted by: Guy Shen ()
Date: January 11, 2010 04:37PM

Hey Guys.
I'm trying to write a function that will insert values into table.
The function should get the values from outter asp application, thus the sql i wrote is:
INSERT INTO customer(customer_name,customer_city) VALUES (@customer_name, @customer_city);

But im keeping getting the error "Column "customer_name" can't be empty.
What's wrong?

Thanks ahead

Options: ReplyQuote


Subject Written By Posted
Column can not be null Guy Shen 01/11/2010 04:37PM
Re: Column can not be null Chad Bourque 01/11/2010 07:53PM
Re: Column can not be null Guy Shen 01/12/2010 03:07AM
Re: Column can not be null Chad Bourque 01/12/2010 09:03AM
Re: Column can not be null Guy Shen 01/12/2010 05:22PM
Re: Column can not be null Guy Shen 01/12/2010 06:39PM
Re: Column can not be null Chad Bourque 01/13/2010 05:44PM
Re: Column can not be null Guy Shen 01/14/2010 09:44AM
Re: Column can not be null Guy Shen 01/14/2010 06:28PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.