Viewing 15 posts - 46 through 60 (of 216 total)
Hi ADAM ,
I don't have any idea.. regarding this.
Regards ,
Amit Gupta......
March 1, 2007 at 2:22 am
Please clear ur requirement!!
If u want to run the update statement u can use it...
Update table_name set Claim_Count=(case when Flag=true then 1 else 0 end)
Otherwise clear ur requirement.
Regards ,
Amit Gupta
March 1, 2007 at 2:19 am
Hi ,
Can u specify ur requirement.. so that i can simplyfy ur query.
February 28, 2007 at 6:29 am
HIi Vkram Amit ,
Which account u r using for login sql serve or your login has SA (System Admin) rights for creating a database.
Regards,
Amit Gupta
February 28, 2007 at 6:24 am
Hi ,
First Clear ur procedure cache...
using THIS STATEMENT...
DBCC FREEPROCCACHE
and then re run ur view.. if it is fine then ur network who acess the database will be slower.
And its true...
February 28, 2007 at 4:15 am
Hi Ankur ,
Use this Query!! I thought it might help you..
update a set noofbranches=Branch
from Company a join
(select * from (
select companyid,count(*) Branch
from Company_Branch
group by companyid)a)b
on a.companyid=b.companyid
Regards,
Amit G.
/* Simplest Way Out...
February 28, 2007 at 3:51 am
Hi ,
Try This one!!!!
select convert(varchar,dateadd(mi,(8.5 * 60), convert(datetime,'09:00:00',108)),108)
Regrads ,
Amit G.
February 28, 2007 at 3:30 am
Hi,
Date is a varchar field and it can contain some invalid dates also beside "0000000" So, You should Check for all invalid dates instead of checking "0000000".
Try this below mentioned...
February 13, 2007 at 2:36 am
Hi ,
Use this query for Scnerio 1 :
Select C.CustomerID ,
C.CompanyName ,
C.ContactFirstName ,
C.ContactLastName ,
O.OrderID ,
O.InvoiceTotal
From Customers C
Join [Overdue Accounts] O
On C.CustomerID=O.CustomerID
Where O.PaidInFull=1
Regards ,
Amit Gupta..
M.V.P.
/* Problem Makes Man Perfect */
January 2, 2007 at 4:01 am
Hi MLopez,
Use this below mentioned query to fix your problem :
select * from @tabla order by
(Case When field like '%-%' then '0'
When field like '%--%' then '1'
else field...
January 2, 2007 at 3:21 am
Hi ,
Thanks for all your reply..
Thanks a lot..
Regards.
Amit Gupta...
December 27, 2006 at 8:20 am
Hi Jeff ,
You are saying true and i will share it to all of you but before it i have to see what is exact problem so that i can...
December 22, 2006 at 7:10 am
Hi Jhon ,
Did you ever tried to Import such file using DTS/Wizard ?
Please forward it to me so i can provide to you the exact tips....
My mail address is :
December 21, 2006 at 8:11 am
Hi Jhon ,
select convert(datetime,'15/11/2006',101)
This statement will not work.
B'coz Sql server by default take the date format in (mon/dd/yyyy).
If you use this satement like :
select convert(datetime,'11/15/2006')
It will work fine..
And one...
December 21, 2006 at 7:24 am
Dan,
Can you give some sample data to more clearify your problem.
Sample scripts of your table structure so that i can start working over it.
Amit Gupta..
/* Sloution is not...
December 14, 2006 at 8:27 am
Viewing 15 posts - 46 through 60 (of 216 total)