Home » SQL & PL/SQL » SQL & PL/SQL » valid column names
valid column names [message #374] Thu, 07 February 2002 20:45 Go to next message
walker
Messages: 1
Registered: February 2002
Junior Member
I have a db that I need to import from MS Access. I pulled the tables into MS SQL server so that I could generate a ddl, but the ddl is failing when I try to run it in oracle's sqlplus.

the imported db has the following characters used in the column names:

spaces (ie. 'home phone')
/ (ie. 'm/m')
: (ie. 'cc:')
# (ie. 'emp#')

So my question is- is there a way to escape these characters in my create scripts, or does oracle not support these characters in colmun names?

I've looked for a reference for questions like these, and have come up empty. Even the oradocs don't seem to answer questions this basic!

Any help, urls, would be appreciated.

thanks
Re: valid column names [message #376 is a reply to message #374] Fri, 08 February 2002 02:20 Go to previous message
pratap kumar tripathy
Messages: 660
Registered: January 2002
Senior Member
oracle only support the character # from your list.so you have to change your script manualy. oracle does support space you can say "home phone", but it is not a good idea.better u change it to home_phone
Previous Topic: PL/SQL TEMP TABLES.,CAN YOU CHECK IF A VALUES EXISTS
Next Topic: Re: Date format?
Goto Forum:
  


Current Time: Thu Apr 25 13:48:05 CDT 2024