Nyana22
asked on
T-SQL Union queries
Hello,
I have 2 tables in Sql server 2005.
t1 with 9675 record
t2 with 777 record
If i execute a query on t1, let's say q1, it returns 9472 records
and if i execute another one, q2 on t2 i have only 2 records returned.
the 2 queries have the same schema, so i execute them in a union quey, only 9273 records are returned,
Can someone tell me what's happening here, please ????
thanks
I have 2 tables in Sql server 2005.
t1 with 9675 record
t2 with 777 record
If i execute a query on t1, let's say q1, it returns 9472 records
and if i execute another one, q2 on t2 i have only 2 records returned.
the 2 queries have the same schema, so i execute them in a union quey, only 9273 records are returned,
Can someone tell me what's happening here, please ????
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER