0

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

  • @sameepkaul, please post the error message. It is likely that the column name "Date" is not allowed (Date being a common data type). But no one can help you much if you don't post the error message. – Rahul Jun 18 '09 at 04:59

1 Answers1

1

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
  • 10,244
  • 7
  • 35
  • 58
  • 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. –  Jun 18 '09 at 05:26