RE: facing problem with NOT NULL fields

2002-01-07 Thread Roger Baklund
* Manjeet > I am inserting user details from a file. The file has users seperated by > commas(,) > > example of file > > manjeet,tom,tim,,john,alexander > > > Using perl script i am reading the file and seperating user info at commas > and inserting into database. > > Now my problem is that i don'

RE: facing problem with NOT NULL fields

2002-01-07 Thread Manjeet
njeet -Original Message- From: Sinisa Milivojevic [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 05, 2002 7:20 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: facing problem with NOT NULL fields Manjeet writes: > I created table using following syntax, > > create table

RE: facing problem with NOT NULL fields

2002-01-05 Thread Roger Baklund
* Manjeet > create table user (Login_Id varchar(16) NOT NULL, Location varchar(16) NOT > NULL, PRIMARY KEY (Login_ID)); > > The above table should not take any null values. > I tryed inserting some null values eg: > > INSERT INTO user (Login_Id,Location) values ("",""); > > According to me this st

Re: facing problem with NOT NULL fields

2002-01-05 Thread Sinisa Milivojevic
Manjeet writes: > I created table using following syntax, > > create table user (Login_Id varchar(16) NOT NULL, Location varchar(16) NOT > NULL, PRIMARY KEY (Login_ID)); > > The above table should not take any null values. > I tryed inserting some null values eg: > > INSERT INTO user (Login_Id,

facing problem with NOT NULL fields

2002-01-05 Thread Manjeet
I created table using following syntax, create table user (Login_Id varchar(16) NOT NULL, Location varchar(16) NOT NULL, PRIMARY KEY (Login_ID)); The above table should not take any null values. I tryed inserting some null values eg: INSERT INTO user (Login_Id,Location) values ("",""); Accordi