Skip to content
 

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”.

3 Comments

  1. Mike says:

    The last line of TSQL above when looking for result sets matches
    AND ds.ChkSum ps.ChkSum
    should be
    AND ds.ChkSum = ps.ChkSum

  2. Ashwin says:

    hi

    how do i pass date value in openquery?

  3. Ashwin says:

    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

post a comment OR Post Your Question on our ASK! Community!