Viewing 5 posts - 1 through 5 (of 5 total)
Does this provide the results you are looking for?
SELECT a.UserID, a.SubjectDescript,
ClosedSevenDaysTot = (SELECT COUNT(b.userID) FROM vwComplaintDetails b WHERE b.userID = a.UserID AND DATEDIFF(DAY, b.ClosedDateTime, b.OpenedDateTime) = 4 THEN 11 ELSE...
December 15, 2004 at 4:51 am
Have you tried the -F flag to indicate the number of rows to copy into your table?
Duncan
June 25, 2004 at 7:34 am
If you wanted all records for, say, Oct 2003 to Jan 2004, I would use:
select * from tablename (index = date1)
where date >= 'Oct 1 2003'
and date < 'Feb 1...
June 22, 2004 at 5:09 am
Thank you both for your assistance. I have now got the process working with the -n switch.
I think part of the problem was that I was also trying to call...
June 22, 2004 at 4:54 am
Are you getting a consistent response for each territory? By this I mean when you select territory A you always get 4 new records added but territory B never adds...
June 18, 2004 at 3:14 am
Viewing 5 posts - 1 through 5 (of 5 total)