Viewing 15 posts - 1 through 15 (of 17 total)
Here is the functioning re-worked openquery.
If anyone is wondering why openquery is used instead of 4-part naming, it's because half of our servers use NTLM authentication instead of Kerberos.
...
November 29, 2011 at 1:58 pm
Makes sense about OPENQUERY not supporting multiple results. Thanks.
November 28, 2011 at 10:57 am
Looks like sp_MSforeach_worker and #qtem come form the code in the prcedure sp_msforeachdb...
November 22, 2011 at 11:35 am
Wouldn't you have to use OPENQUERY if the servers use NTLM authorization?
November 10, 2011 at 9:43 am
Thanks! Had to think about this for a bit but I tracked it down to a special login we use just for NTLM servers. Changed the permissions and...
November 10, 2011 at 9:35 am
Success! Gentlemen, thanks so much for your assitance. Your responses have been extremely helpful and insightful.
John
November 9, 2011 at 10:22 am
thanks for the reply. Adding the single quotes allowed the 'parse' check to be successful but when the code was executed, a syntax error occured.
--
Msg 102, Level...
November 9, 2011 at 9:41 am
Here is my code. When this code is executed it inserts '@ServerName,@Port_nbr'into the sys.servers table. Currently all the servers are Kerberos so I dont need a login...
February 14, 2011 at 2:23 pm
very helpful, this was a little more of what I was looking for 🙂
January 25, 2011 at 10:15 am
Thanks!
I think its working coded like this:
If (@CreateDate > GETDATE() - 7 )
EXEC sp_executesql @sql, N'@servername varchar(250) , @Port_nbr...
December 9, 2010 at 12:40 pm
Thanks much for the assistance.
Below is my modified code. When executed it appears to run successfully. All the records are read from the HOSTSERVER table but the server properties...
December 8, 2010 at 9:54 am
My code is working. Thanks very much. Quotation marks will be the death of me...
-jon
November 30, 2010 at 7:46 am
Viewing 15 posts - 1 through 15 (of 17 total)