Viewing 15 posts - 1 through 15 (of 30 total)
Is there really no way?
July 20, 2012 at 2:17 am
I found out, that changing the default database for the user which is used with the linked server, to the database which is solves it. But still, not satisfying if...
July 19, 2012 at 5:23 am
the error I get when executing the:
SELECT @execute = 'EXEC (''USE '+@sourcedatabase+' ; ''+@trigger) AT ['+@sourceserver+']'
SELECT @param = N'@trigger nvarchar(4000)'
EXEC sp_executesql @execute,@param,@trigger
is:
EXEC ('USE SyncTestBase ; '+@trigger) AT [FEBKH03\COAS]
@trigger nvarchar(4000)
Msg 111,...
July 19, 2012 at 4:53 am
Thanks.. I went for the temp table solution.. And it worked ..
September 12, 2011 at 5:50 am
Thanks for all replies... I audited the database, and found out that someone was running a script that removed all user mappings for unknown users.
June 15, 2011 at 7:04 am
the database has been restored.. But theese users are new logins, that did not exist on the old server.
June 15, 2011 at 6:49 am
Great... It worked... The default language was english... When I changed it to Danish, it worked.. Thanks a lot...
June 15, 2011 at 1:46 am
Ahh... Got it working.. The problem was of course that I did not have an ELSE ... When the value <> 0 then Colounm1. 🙂
May 5, 2011 at 3:33 am
My problem is, that in this specific query the value is Null when it has to choose column2... (and the value is not null ;-))
May 5, 2011 at 3:29 am
Now I have.. But unfortunately without success.
October 6, 2010 at 1:58 am
Thanks very much everyone for the input... It has been very usefull...
Kind regards,
Anders Hansen
July 3, 2009 at 6:58 am
Sorry... What I would like to do is:
- To make my stored procedure return an output variable with the result of the EXEC (@query).. It returns only one value,...
July 1, 2009 at 7:57 am
It apparently had to do with that our SQL server 2008, is a SQL cluster.. When we failed over to the other node.. The error was not present...
May 28, 2009 at 7:45 am
Hi,
And as a reply to Nitin, no, this returned the same error.
I found another way to solve it.. But this is a bit stupid... The data from the @Lastrun2 is...
March 5, 2009 at 5:11 am
Viewing 15 posts - 1 through 15 (of 30 total)