views:

203

answers:

1

Hi ,

I am using NetBeans to build a Desktop App. I'm using JavaDB as the database. I need a column named "Date" . However , I get an error whenever I try to name a column that. Any suggestions ?

Thanks in advance .

P.S I'm a newbie

+1  A: 

Date is a reserved word. You need to name it something else. For example, a name for the type of date it is like DATE_CREATED

northpole
of course.... +1
Adeel Ansari
Thanks a lot , thats what I figured as well. I don't mind changing the name of the column . But when the application is initialized , the column names in the data area of the application frame are the same as the column names in the table. Is there any way to change the column names in the application interface ? Thanks once again for your reply.