?
Solved

problem with query select with intersect

Posted on 2014-02-20
3
Medium Priority
?
169 Views
Last Modified: 2014-02-27
Hello,

I execute two select with intersect. The tables contains static data and I have executed the query several times, the result is not the same, the number of rows is different.

Why


Thanks

Regards
0
Comment
Question by:bibi92
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 66

Expert Comment

by:Jim Horn
ID: 39875266
>I execute two select with intersect.
Posting the T-SQL of these queries would greatly help us solve the problem.
0
 
LVL 32

Accepted Solution

by:
awking00 earned 1500 total points
ID: 39877067
How sure are you that they contain "static" data (i.e. no inserts, updates, or deletes)?
0
 

Author Closing Comment

by:bibi92
ID: 39892707
Thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question