Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
sudha12345
Starting Member
47 Posts |
Posted - 2009-04-09 : 05:24:43
|
| i am inserting data into Temp_Asset of MedNetOnline DataBase by taking data from Asset table from the DataBase HMSS_HOLDwhile Executing i am Getting the Error Msg 208, Level 16, State 1, Procedure Process_insert_Temptables_HoldingDb_sp, Line 22Invalid object name 'HMSS_HOLD.Asset'.The Server Details areDataBase Configuarations are for DataBase HMSS_HOLD areComputer Name :D-181485user : MedNetDataBase Configuarations are for DataBase MedNetOnline areComputer Name :D-181485user : MedNetThe Server IP is 10.150.135.132The Code is As FollwsUSE [MedNetOnline]SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER OFFGOcreate Procedure [MEDNET].[insert_Temptables_HoldingDb]@intError int OUTasBEGINSET NOCOUNT ON SET @intError = 0if @inerror = 0BEGINinsert into MedNetOnline.Mednetload.temp_asset (CUSTOMERID,SERVERID,ASSETID,LOGICALID,LOCATIONTIME,ASSETLOCATIONID,ASSETTYPEID,DATECREATED,LASTUPDATED,UPGRADEINPROGRESS,SWRELEASEUPGRADEID,SWRELEASEID,IPADDRESS)(select CUSTOMERID,SERVERID,ASSETID,LOGICALID,LOCATIONTIME,ASSETLOCATIONID,ASSETTYPEID,DATECREATED,LASTUPDATED,UPGRADEINPROGRESS,SWRELEASEUPGRADEID,SWRELEASEID,IPADDRESS from HMSS_HOLD.db0.Asset)ENDELSEBEGINprint 'Error While inserting'END SET NOCOUNT OFFENDSudhakar |
|
|
ddramireddy
Yak Posting Veteran
81 Posts |
Posted - 2009-04-09 : 05:48:36
|
quote: Originally posted by sudha12345SWRELEASEUPGRADEID,SWRELEASEID,IPADDRESS from HMSS_HOLD.db0.Asset)Sudhakar
I think its due to a typo. i think its dbo, you typed db0.thats y its giving error. |
 |
|
|
|
|
|
|
|