![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have installed 9.0. When I open Sybase Central and try to connect to a 5.5 database I am informed that the database must be unloaded and reloaded. This is fine and I run the wizard, the unload procedure proceeds until. ................ Unloading "irsaims"."motorvehiclespecialdriver" into motorvehiclespecialdriver (relative to server) Unloading "irsaims"."driveraccidents" into driveraccidents (relative to server) Reloading data Adding foreign key and index definitions Creating functions Creating views ***** SQL error: Procedure 'FullName' not found Could not unload the database 'irsaim Status : Failed 'FullName' is a function that we created and is used within several other functions/procedures. Any ideas why I would be getting this error? Thank you. Bill |
#3
| |||
| |||
|
|
Try separating the "unload" step from the "reload" step. Unloading will get you a directory full of .DAT files with one .SQL file. Then you can edit the SQL file and ensure that the FullName function gets created before the views that depend on it before reloading it back in (by executing the reload.sql on an empty database) "Bill Urbanovsky" <burbanovsky (AT) irsaims (DOT) com> wrote in message news:3fdf8d26$1 (AT) forums-1-dub (DOT) .. I have installed 9.0. When I open Sybase Central and try to connect to a 5.5 database I am informed that the database must be unloaded and reloaded. This is fine and I run the wizard, the unload procedure proceeds until. ................ Unloading "irsaims"."motorvehiclespecialdriver" into motorvehiclespecialdriver (relative to server) Unloading "irsaims"."driveraccidents" into driveraccidents (relative to server) Reloading data Adding foreign key and index definitions Creating functions Creating views ***** SQL error: Procedure 'FullName' not found Could not unload the database 'irsaim Status : Failed 'FullName' is a function that we created and is used within several other functions/procedures. Any ideas why I would be getting this error? Thank you. Bill |
#4
| |||
| |||
|
|
Thanks for the response. I verified that the "FullName" function is being created before the view. Even after the unload/reload in Sybase Central fails I can open the database and see the "FullName" function. So it is there. I was able to get past the "create views" section by setting the maximum view dependency level to 2. However, it then failed on the "checking view definitions" section. With a "Table xxxxxxx not found" . By deleteing all views before hand, then unloading and reloading the database, then recreating the views I am able to finally update the database. There appears to be bug in the Sybase Central upgrade procedures. "Erik Anderson" <erikba (AT) teamworkgroup (DOT) com> wrote in message news:3fdf91d7$1 (AT) forums-1-dub (DOT) .. Try separating the "unload" step from the "reload" step. Unloading will get you a directory full of .DAT files with one .SQL file. Then you can edit the SQL file and ensure that the FullName function gets created before the views that depend on it before reloading it back in (by executing the reload.sql on an empty database) "Bill Urbanovsky" <burbanovsky (AT) irsaims (DOT) com> wrote in message news:3fdf8d26$1 (AT) forums-1-dub (DOT) .. I have installed 9.0. When I open Sybase Central and try to connect to a 5.5 database I am informed that the database must be unloaded and reloaded. This is fine and I run the wizard, the unload procedure proceeds until. ................ Unloading "irsaims"."motorvehiclespecialdriver" into motorvehiclespecialdriver (relative to server) Unloading "irsaims"."driveraccidents" into driveraccidents (relative to server) Reloading data Adding foreign key and index definitions Creating functions Creating views ***** SQL error: Procedure 'FullName' not found Could not unload the database 'irsaim Status : Failed 'FullName' is a function that we created and is used within several other functions/procedures. Any ideas why I would be getting this error? Thank you. Bill |
![]() |
| Thread Tools | |
| Display Modes | |
| |