Easiest way to compare the results of two queries row by row and column by column
В списке pgsql-general по дате отправления:
| От | Jason Long |
|---|---|
| Тема | Easiest way to compare the results of two queries row by row and column by column |
| Дата | |
| Msg-id | 1371766705.15253.44.camel@localhost.localdomain обсуждение исходный текст |
| Ответы |
Re: Easiest way to compare the results of two queries row by row
and column by column
Re: Easiest way to compare the results of two queries row by row and column by column Re: Easiest way to compare the results of two queries row by rowand column by column |
| Список | pgsql-general |
Can someone suggest the easiest way to compare the results from two
queries to make sure they are identical?
I am rewriting a large number of views and I want to make sure that
nothing is changes in the results.
Something like
select compare_results('select * from v_old', 'select * from v_new');
I would want this to check that the row count and each row matched
column by column.
I am hoping someone has already written something for this...
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера