![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to write a very simple DTS package which copies all object from one database to another existing database. If the target DB is empty all works fine. However if the target DB already has data I get the following error message: [Microsoft][ODBC SQL Server Driver][SQL Server] There is already an object named 'GETNEXTDOCUMENTGROUPID' in the database. 'GETNEXTDOCUMENTGROUPID' is a user defined function ANyone know what I should do to avoid this issue? Thanks, Jonathan Orgel |
#3
| |||
| |||
|
|
Have you chosen to remove the objects if they already exist first? Tell you the truth if you want to move DB1 --> DB2 in nigh on its entirety then look at BACKUP and RESTORE Allan "Jonathan Orgel" <Jonathan (AT) srssoft (DOT) com> wrote in message news:Jonathan (AT) srssoft (DOT) com: I am trying to write a very simple DTS package which copies all object from one database to another existing database. If the target DB is empty all works fine. However if the target DB already has data I get the following error message: [Microsoft][ODBC SQL Server Driver][SQL Server] There is already an object named 'GETNEXTDOCUMENTGROUPID' in the database. 'GETNEXTDOCUMENTGROUPID' is a user defined function ANyone know what I should do to avoid this issue? Thanks, Jonathan Orgel |
![]() |
| Thread Tools | |
| Display Modes | |
| |