Respected Sir,
I run once sql querry in sql 2000 but show error. pls give me soluction now.
SELECT a.BILL_DATE,
COUNT (DISTINCT a.bill_number + ' ' + a.bill_date + ' ' + a.till_number) nob,
SUM (a.net_amt) bill_value
FROM bill_detail b, bill_header a
WHERE b.bill_date='10-feb-08'
AND a.bill_date = b.bill_date
AND a.bill_number = b.bill_number
AND a.till_number = b.till_number
AND a.bill_status = 'B'
--AND b.net_amt > 199
GROUP BY a.bill_date
show error--------------------
Server: Msg 8114, Level 16, State 5, Line 1
Error converting data type varchar to numeric.