![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
... Is anyone aware of a 'switch' at the database installation level that would cause the parser(?) to recognise this as a table correlation name and not a 'case' statement (which I think is what is happening). |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Hi, I've got a customer that has recently upgraded to Ingres 9.3 from 6.4/03. The following statement now gives the customer a database error: update case set txt = 'bob' where case.ref = 1; The error states that there is a syntax error on '.' Removing the 'case' table correlation name from the where clause allows it to run without fail. I've a slight problem in that I cannot change the source, so any suggestions along the lines of putting quotes around the correlation name won't help. Is anyone aware of a 'switch' at the database installation level that would cause the parser(?) to recognise this as a table correlation name and not a 'case' statement (which I think is what is happening). Thanks Adrian -- Adrian Williamson ------------------------------------------------------------------------ Adrian Williamson's Profile: http://community.ingres.com/forum/me...p?userid=11340 View this thread: http://community.ingres.com/forum/sh...ad.php?t=12974 _______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://ext-cando.kettleriverconsulti...fo/info-ingres |
#6
| |||
| |||
|
|
Is anyone aware of a 'switch' at the database installation level that would cause the parser(?) to recognise this as a table correlation name and not a 'case' statement (which I think is what is happening). |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
Hi Adrian, Do you mind me asking why the customer has gone to 9.3? This isn't a supported release and was only ever intended as a release that would give early exposure to new features for SI's and ISV's. Patches are not available and upgrading to 10 will almost certainly require an unload, reinstall and reload. Peter Gale On 2 February 2011 14:44, Ingres Forums mailto:info-ingres (AT) kettleriverconsulting (DOT) com>info-ingres (AT) kettleriverconsulting (DOT) com wrote: Hi, I've got a customer that has recently upgraded to Ingres 9.3 from 6.4/03. The following statement now gives the customer a database error: update case set txt = 'bob' where case.ref = 1; The error states that there is a syntax error on '.' Removing the 'case' table correlation name from the where clause allows it to run without fail. I've a slight problem in that I cannot change the source, so any suggestions along the lines of putting quotes around the correlation name won't help. Is anyone aware of a 'switch' at the database installation level that would cause the parser(?) to recognise this as a table correlation name and not a 'case' statement (which I think is what is happening). Thanks Adrian -- Adrian Williamson ------------------------------------------------------------------------ Adrian Williamson's Profile: http://community.ingres.com/forum/member.php?userid=11340>http://community.ingres.com/forum/me...p?userid=11340 View this thread: http://community.ingres.com/forum/showthread.php?t=12974>http://community.ingres.com/forum/sh...ad.php?t=12974 _______________________________________________ Info-Ingres mailing list mailto:Info-Ingres (AT) kettleriverconsulting (DOT) com>Info-Ingres (AT) kettleriverconsulting (DOT) com http://ext-cando.kettleriverconsulti...fo/info-ingres -- Peter Gale mailto gale61 (AT) gmail (DOT) com>pgale61 (AT) gmail (DOT) com_______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://ext-cando.kettleriverconsulti...fo/info-ingres |
#9
| |||
| |||
|
|
Patching the DBMS sounds like a seriously bad idea, I think. My rescue idea was only with respect to the client app and would not have any effect on anything else. Sorry I'd not seen your post. Great minds think alike. Yes probably |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |