July 14, 2008 at 2:16 pm
We are trying to run a scrip but in this line: ( this is in a create sp instruction)
[blue]insert into SERVERMETLIFE3.[VL-0002DW].dbo.DimPeriodo values (3,2006,3,'Marzo')[/blue]
we receive the next error:
The object name 'SERVERMETLIFE3.VL-0002DW.dbo.DimPeriodo' contains more than the maximum number of prefixes. The maximum is 2
July 14, 2008 at 2:46 pm
First, make sure your linked server is set up correctly.
Second, create a synonym (look up "create synonym" in Books Online) for the the table.
Third, use the synonym in the insert statement.
That should do it for you.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
July 14, 2008 at 2:47 pm
In my memory, some of T-Scripts cannot be used in 4-name structure. Try other way to insert your data.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply