Viewing 5 posts - 31 through 35 (of 35 total)
I have used th case statement to do reverse the values present in the Table
select
case
when MyCol>0 then 0-MyCol
else
abs(MyCol)
end
from dbo.MyTable
December 10, 2004 at 12:06 pm
The logic here is pretty simple.
I have used a while loop to get the difference between the Min and Max date and then insert the missing records into the table...
December 9, 2004 at 12:17 pm
I guess the below query will be useful for your problem
select contactdesc,
case
when (donedate is null and getdate()>=duedate) then 1
when donedate is not null then 5
when (donedate is null and...
December 9, 2004 at 8:11 am
I believe after deleting the rows You should execute DBCC Reindex and then use dbcc updateusage
September 14, 2004 at 3:48 am
Recommend you to do DBCC UPDATEUSAGE on the indexes of the Table .This will ensure that all corrupt/discrepant indexes are fixed.
Hope this will resolve your problem
May 21, 2004 at 4:38 am
Viewing 5 posts - 31 through 35 (of 35 total)