Viewing 6 posts - 1 through 6 (of 6 total)
Select
SUM(Case when field1='A' then 1 else 0) A,
SUM(Case when field1='A' then 1 else 0) B,
SUM(Case when field1='A' then 1 else 0) C
from table1
September 3, 2007 at 10:55 pm
IS there any distinct column in this table , or any auto generated value.
let me know?
if yes then this can be the solution
select * from dupilicate
where id in ( select min(id)...
April 15, 2007 at 11:36 pm
Are you able to get this from one server , if yes then do this.
Make linked server , to all other server and then u can easily access that remote...
April 15, 2007 at 11:28 pm
Please check the data type of these columns, it must be other than the date time. if no then let me know , so that we can find out some...
April 15, 2007 at 11:24 pm
Select * from emp1 full outer join emp2 on emp1.empno=emp2.empno
where emp1.empno is null or emp2.empno is null
April 15, 2007 at 11:21 pm
Viewing 6 posts - 1 through 6 (of 6 total)