I have a problem with sql ant taks with my build.xml.
I use task in ant and creating a table with column name “rem” fails. I am guessing this is a reserved word in Oracle. However, I have two questions regarding this issue:
-
This problem diesn’t occur in sqlplus. i.e.: It lets me create a table with column name “rem”.
-
Should I be concerened about reserved words that aren’t of Oracle. For example: “go” in mysql?
Thnak you.
I don’t think you need to worry about MySQL reserved words unless you are intending on using both RDBMS.
However, to address your second point first:
While cagcowboy’s answer tells you how to fix the problem I can only ask that you do not do this.
I something has to be enclosed in double quotes then you have to remember to do that everywhere. Some UIs ( e.g. Toad ) require special options to be initialised.
Effectively it’s a massive amount of hassle and as Dems and Davd Faber have commented can be massively confusing.
Incidentally
godoes seem to be a reserved work in Oracle, no idea what it does though.To address your first bullet point
remisn’t actually a reserved word in Oracle – only SQL*Plus– and creating a table withremas a column name works because of this. Your specific problem must be a something to do with ant.