You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “How to Compare Stored Procedure Result Sets”.
You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “How to Compare Stored Procedure Result Sets”.
The last line of TSQL above when looking for result sets matches
AND ds.ChkSum ps.ChkSum
should be
AND ds.ChkSum = ps.ChkSum
hi
how do i pass date value in openquery?
how do i give two values in single parameter?
for Example:
single value
SELECT *
INTO #Procedure1
FROM OPENQUERY(LOCALSERVER, ‘set fmtonly off exec dbo.Procedure1 1,hr’)
more than on value
SELECT *
INTO #Procedure1
FROM OPENQUERY(LOCALSERVER, ‘set fmtonly off exec dbo.Procedure1 ’1,24′,hr’)
here single quotes not allowed in parameters