![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello all...we've been migrating our databases from ASA 9.0.2 to SQL Anywhere 11.0.1 with great success. The only problem I have encountered is that if you migrate a table that has a column which is a reserved word in SQLAnywhere 11.0.1, i.e. 'comment', the SQL Anywhere 11.0.1 on-line help says that it must be enclosed in double quotes, i.e. "comment". Additionally, the migration documentation states that all references to the reserved word should be changed to a different name, ie 'comment' would become '@comment'... The problem with these work arounds is that I would have to change my column names from many tables. My question is: Is there anyway a database property could be set so that I would not have to do this? Any info would be greatly appreciated. |
#3
| |||
| |||
|
|
The problem with these work arounds is that I would have to change my column names from many tables. My question is: Is there anyway a database property could be set so that I would not have to do this? Any info would be greatly appreciated. ![]() |
#4
| |||
| |||
|
|
Hello all...we've been migrating our databases from ASA 9.0.2 to SQL Anywhere 11.0.1 with great success. The only problem I have encountered is that if you migrate a table that has a column which is a reserved word in SQLAnywhere 11.0.1, i.e. 'comment', the SQL Anywhere 11.0.1 on-line help says that it must be enclosed in double quotes, i.e. "comment". Additionally, the migration documentation states that all references to the reserved word should be changed to a different name, ie 'comment' would become '@comment'... The problem with these work arounds is that I would have to change my column names from many tables. My question is: Is there anyway a database property could be set so that I would not have to do this? Any info would be greatly appreciated. |
#5
| |||
| |||
|
|
Mark, I haven't used this myself but the non_keywords option may do the trick. AFAIK, the usage of reserved words as column names written within double quotes is SQL Standard and no workaround as such. However it seems sensible to avoid this ![]() HTH Volker Mark wrote: Hello all...we've been migrating our databases from ASA 9.0.2 to SQL Anywhere 11.0.1 with great success. The only problem I have encountered is that if you migrate a table that has a column which is a reserved word in SQLAnywhere 11.0.1, i.e. 'comment', the SQL Anywhere 11.0.1 on-line help says that it must be enclosed in double quotes, i.e. "comment". Additionally, the migration documentation states that all references to the reserved word should be changed to a different name, ie 'comment' would become '@comment'... The problem with these work arounds is that I would have to change my column names from many tables. My question is: Is there anyway a database property could be set so that I would not have to do this? Any info would be greatly appreciated. |
![]() |
| Thread Tools | |
| Display Modes | |
| |