Viewing 15 posts - 556 through 570 (of 1,114 total)
karthikeyan (7/31/2008)
Quick solution is, just use union all statement. check out the query plan now and let me know.
----------------------------------------------
SELECT * FROM EMPLOYEEINFO_INDEX
WHERE Department = 'ABC'
Union All
SELECT * FROM EMPLOYEEINFO_INDEX...
July 31, 2008 at 1:08 am
If the problem exists still, better post the table details and query plan details. You will get good replies from this site.
July 31, 2008 at 1:05 am
Try to force index for the second statement which is written in UNION ALL.
July 31, 2008 at 1:01 am
Try it out and Let me know.
July 31, 2008 at 12:58 am
modify the statement as
(index = INDEX-2)
July 31, 2008 at 12:57 am
or... you can use force the index.
SELECT * FROM EMPLOYEEINFO_INDEX (index INDEX-2)
WHERE Department = 'ABC' OR Department = 'XYZ'
Check out the query plan and let me know.
July 31, 2008 at 12:46 am
Hello Guys,
We are facing some indexes related problem in SQL server 2000. The scenario is as follows...
We have a table EMPLOYEEINFO having...
July 31, 2008 at 12:28 am
Use Tally table to split the comma seperated values.
July 31, 2008 at 12:07 am
Create View v1
as
Select Eno,Ename from e1.dbo.emp
where Eno = 5
Union All
Select Eno,Ename from e1.dbo.empmast
where Eno = 5
Now,
Select Eno,Ename from v1
July 30, 2008 at 11:58 pm
July 30, 2008 at 10:15 pm
http://www.mssqlcity.com/Articles/Adm/attach_database.htm
visit the above URL.
July 30, 2008 at 10:13 pm
d_sysuk (7/16/2008)
--------------------------------------------------------------------------------
Okay so the posters had part I published several times, with various answers... using min/max, a subquery, a temp-table.
The perfm. analysis can be made easily by Sam/others just run...
July 30, 2008 at 12:21 am
Hi Chris and Jeff,
I am leaving for the day. Will continue tomorrow.Please post your replies.
July 17, 2008 at 9:17 am
I have executed all these three methods more than 10 times, But i got the same result at all time.
1) update #t1
set #t1.Name = T.Name
from T , #t1
where #t1.ID =T.ID
2)...
July 17, 2008 at 9:12 am
Viewing 15 posts - 556 through 570 (of 1,114 total)