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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Invalid object name 'Asterisco.dbo.home_planes_mov

Author  Topic 

alejo46
Posting Yak Master

157 Posts

Posted - 2013-12-11 : 12:36:30
Good morning,
I've trying to analize a DTS which extrac some data from one SQLSERVER
to another SQLSERVER by menas of a Transfotmation Task (Thick arrowwhich contains this query:

SELECT COD_PLAN, ISNULL(VLR_PREFERIDO_INTERNAL, 0) AS VLR_PREFERIDO_INTERNAL,
ISNULL(VLR_9PREFERIDOS_ACT, 0) AS VLR_9PREFERIDOS_ACT
FROM Asterisco.dbo.home_planes_movistar_actual
i copy this query and run in query analizar but yields me an error:
Server: Msg 208, Level 16, State 1, Line 1
Invalid object name 'Asterisco.dbo.home_planes_movistar_actual'.

The datasource is a server call SQlTEST and its DB is called Asterisco (what i know this query is taken from the source SQLSERVER) but not locally thats why it yiels that error:

How am i supposed to run the same query in the local server and simulate im running this query locally ?
THanks in advanced ?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-12-11 : 12:40:12
You cant run and check this query in local server unless you've a database by name Asterisco with table home_planes_movistar_actual in it.You need to get access to remote server SQlTEST for that, register it in enterprise manager and then connect to it through query analyser

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -