Re: tool for stored proc. (written in oracle/sql) execution?



B Deepak wrote:
> Hi,
>
> Can somebody suggest a tool with which I can compare the result
> obtained after execution of stored procedure in oracle and sql?
> Basically, I have migrated my stored procedure written in sql 2000 to
> oracle. Now I want to check whether result obtained after execution of
> oracle SP will be remain same as that of the sql stored procedure
> execution result.
>
> Any help will be appreciated
>
> Thanks in Advanced,
> Deepak

If you save the results to the same file format (e.g. CSV), you can probably
use a simple file compare utility (like the fc.exe command line utility
which comes with Windows or windiff.exe). You could also dump the results
from the SQL Server into a table with a unique index on all columns and try
and insert the data from the linked Oracle database. If the row counts to
start are the same and no rows get into the table, you're probably fine. You
could select from the SQL Server table where NOT EXISTS in the other (and
vice-versa).

Also, some third-party tools like Taod for SQL Server from Quest can perform
data comparisons on two tables.


--
David Gugick
Quest Software


.



Relevant Pages

  • Re: Deadlock between Distribution Agent and Distribution Agent Cle
    ... stored procedure at the subscriber will have. ... replication to the subscriber and the possibility of moving the ... > obtains will be released at the end of its execution. ... >> Looking for a SQL Server replication book? ...
    (microsoft.public.sqlserver.replication)
  • Re: Stored Procedures vs DTS vs Jobs
    ... A stored procedure is complied code meaning that SQL Server has already ... > execution time, ...
    (microsoft.public.sqlserver.dts)
  • Re: MSDE Slow in executing Stored Procedures
    ... the first step is the check the execution plans and compare them. ... > I've used profiler to trace the execution for both stored procedure and ... >> Tibor Karaszi, SQL Server MVP ...
    (microsoft.public.sqlserver.msde)
  • Re: MSDE Slow in executing Stored Procedures
    ... Perhaps you can summarize you'd findings (MSDE vs. SQL Server and INSERT vs. stored procedure)? ... The execution plan looks the same. ...
    (microsoft.public.sqlserver.msde)
  • Re: CPU usage
    ... then compare the differences of the values you might be come up with ... Need SQL Server Examples check out my website at ... > I need to know CPU and IO load inside a stored procedure. ... > How can I find the server load inside a stored procedure? ...
    (microsoft.public.sqlserver.programming)