Viewing 5 posts - 16 through 20 (of 20 total)
Hi
The below 3 sql statements give the contracts and the people under those contracts.
1: The first statement gives the work contracts for the...
February 21, 2006 at 4:14 am
Thanks for your efforts guys...
I solved it by using the distinct keyword and used site_name in place of posting_location_id in the Count statement!!!
Now i can count the site_name field...
September 20, 2005 at 9:51 am
Hi
i think i solved the problem.
thanks any ways
September 19, 2005 at 8:05 am
have you tried
if isnull(fieldname, '') = ''
select fieldname = 'xyz'
am not too sure... the above statement replaces a space with 'xyz' string.
regards
August 17, 2005 at 10:23 am
The actual query goes like this:
create function test(@idnumber varchar(27), @rangestart datetime, @rangeend datetime)
returns int
as
begin
declare @intdays as int
select @intdays = count(distinct date) from daystable as dates
inner join
(select ....'need to use...
August 9, 2005 at 10:19 am
Viewing 5 posts - 16 through 20 (of 20 total)