Viewing 15 posts - 1 through 15 (of 22 total)
Oops .... the above post didnt decode the characters properly...it was NOT "?" which i posted....
February 12, 2007 at 10:58 pm
February 12, 2007 at 10:57 pm
sorry mate pblm with backspace in my keyboard
SELECT CASE WHEN CLIENTBOXNUMBER IN ('0096028', '0096076')
THEN '0096064'
ELSE
END as 'ColumnName'
FROM TableName
May 4, 2006 at 6:23 pm
rharma...was spot on...but just wanna make things perfect...
SELECT CASE WHEN CLIENTBOXNUMBER IN ('0096028', '0096076')
THEN '0096064'
May 4, 2006 at 6:21 pm
hey mate...wat i had posted will do a perfect insensitive search...
but will affect urs...
sorry should have read ur description clearly...
i ve now read...but...
May 4, 2006 at 6:15 pm
hey thatz quite simple...
just follow this way...
where upper(fac) = upper(watever here)
or
where lower(fac) = lower(watever here)
May 3, 2006 at 10:45 pm
hey thatz quite simple...
just follow this way...
where upper(fac) = upper(watever here)
or
where lower(fac) = lower(watever here)
May 3, 2006 at 10:45 pm
create table #tempo (id int, generated bit)
insert into #tempo (id, generated)
select distinct id, 0 from [YOUR_TABLE]
create table #temp1 (id1 int, date1 datetime)
declare @id int
while exists (select * from #tempo where...
April 27, 2006 at 12:01 am
Hi...i dont think there is a need for RIGHT OUTER JOIN here,
thatz the cause for the 3x rows.
Rather use INNER JOIN...
Update table1
Set table1.YZBX01 = table2.YZBX01,
table1.YZBX02 = table2.YZBX02,
table1.YZBX03 = table2.YZBX03,
table1.YZBX04 =...
April 26, 2006 at 11:22 pm
try this ....
SELECT
a1.account,
a1.disease_prog,
a1.confirm_flag,
a1.consent_flag,
a1.opt_out_reason_code
FROM ah_member_flags a1 WITH (nolock)
inner join ah_member_flags a2 on a1.account = a2.account
and a1.company = a2.company
and a1.disease_prog = a2.disease_prog
WHERE a1.confirm_flag = 'y'
and a1.consent_flag =...
April 25, 2006 at 9:16 pm
Hi...Do you mean this...
select ''','''
..run this is Query analyser..
hope this helps
Riyaz
April 25, 2006 at 6:27 pm
hey Also...Ask your network admin watz the email id that SQL Server uses....try sending an email to that id...
find is that reaching SQL inbox using xp_readmail.
April 21, 2006 at 7:24 pm
Perfect !!!...in that case the fault is ur SQL Server couldnt connect to ur Microsoft Exchange server...its the matter of some rule settings with your networks...You ll have to...
April 21, 2006 at 6:44 pm
Group by col1, col2, col3 is the best option....
but watz ur fourth column...wat shd it return...
can you be more specific...for a specific answer.
Thanks
Riyaz
April 21, 2006 at 6:56 am
Group by col1, col2, col3 is the best option....
but watz ur fourth column...wat shd it return...
can you be more specific...for a specific answer.
Thanks
Riyaz
April 21, 2006 at 6:56 am
Viewing 15 posts - 1 through 15 (of 22 total)