Online Data Transform

Friday, March 30, 2012

OpenQuery with variable

›
I need to do this: select field1, field2,... from openquery(LinkedServerName, 'select * from tablename where field =' + @.myVar) ...

OpenQuery with variable

›
I need to do this: select field1, field2,... from openquery(LinkedServerName, 'select * from tablename where field =' + @.myVar) the...

OpenQuery With Large String?

›
Hi, I declare a variable @.MdxSyntax as NVARCHAR(4000) to store MDX OpenQuery syntax on Store Procedure. SET @.mdxSyntax = ' SELECT * ...

OpenQuery with join

›
Hi I have a SP which queries a linked server using OpenQuery function. The remote query includes a join and an IN clause to get the desire r...

Openquery with a sub-sql referening sqlserver table.

›
Hello. I need to do a openquery to a linked server, and get record with id no in a sub select pointing to a table stored in SQLServer. I hav...

OPENQUERY vs. sp_executesql which is better?

›
I have recently seen the OPENQUERY function in a stored procedure which was used to INSERT values into a table on a remote server. However, ...

OPENQUERY vs EXECUTE on a linked server -- what is better?

›
Can anyone tell me, if, generally, the performance or the cost of executing a pass-through command on a linked server in SQL Server 2005 wou...
›
Home
View web version

About Me

inlandtyuh
View my complete profile
Powered by Blogger.