Viewing 15 posts - 256 through 270 (of 1,228 total)
Sean Lange (2/6/2014)
marcipesa (2/6/2014)
Yeah something like that. Notice the looping, this is a performance killer in sql. You have the added complexity of a number of...
February 6, 2014 at 1:16 pm
Sean Lange (2/6/2014)
ChrisM@home (2/6/2014)
February 6, 2014 at 1:12 pm
How are you choosing index 2 over index1?
Why would you choose index 2 over index1?
What happens when you run each query two or three times?
February 6, 2014 at 1:07 pm
jayoub (2/6/2014)
... if the number match up ...
What do you mean by this, Jeff? Match up with what exactly?
February 6, 2014 at 1:03 pm
Hey Luis I don't know if you can see what I've just seen on this funny little mobly but you my friend may just be the first! Whether you are...
February 6, 2014 at 12:54 pm
Any time. Have a look at LIKE in Books Online when you get the time, it's tremendously useful.
February 5, 2014 at 12:35 pm
Use NOT IN ().
Why are you using LIKE?
February 5, 2014 at 11:40 am
Post the actual execution plan as a .sqlplan attachment - there may be scope gor optimisation that you've missed.
February 3, 2014 at 1:24 pm
p.swathi4 (2/3/2014)
QUERY:
SELECT top * from [Servername].[WH_SYSTEM].[dbo].T_ENCOUNTER_PHYSICIAN
WHERE PhysicianID LIKE '[0-9]%'
Output:
Msg 7357,Level 16, State 2, Line 1
Cannot process...
February 3, 2014 at 10:13 am
p.swathi4 (2/3/2014)
QUERY:
SELECT top * from [Servername].[WH_SYSTEM].[dbo].T_ENCOUNTER_PHYSICIAN
WHERE PhysicianID LIKE '[0-9]%'
Output:
Msg 7357,Level 16, State 2, Line 1
Cannot...
February 3, 2014 at 10:10 am
Try this. The results are very close to your desired results set, and I can't tell if it's because the arithmetic in the query requires modification or if the desired...
February 2, 2014 at 11:48 am
Michael Meierruth (2/2/2014)
Jeff Moden (2/1/2014)
There is a method that'll blow the doors off of even LAG but a lot of people are afraid of it.
Thus are you referrring to CROSS...
February 2, 2014 at 4:24 am
Jeff Moden (2/1/2014)
Your requirements are a bit difficult to understand ...
Exceptionally difficult. Extending Jeff's request for clarification, here's a stab at something which may help to describe the problem.
SELECT
CASE...
February 2, 2014 at 4:04 am
asita (2/1/2014)
Hello could anybody please assist with thisThank you in advance
Please
Can you confirm which version of SQL Server you are using? Your code fails with an error (Ambiguous column name...
February 2, 2014 at 3:32 am
peerless (2/1/2014)
...What should I do?
You should investigate the results from the SELECT part of your INSERT query, not just this time, but every time. The same applies to UPDATEs and...
February 2, 2014 at 3:25 am
Viewing 15 posts - 256 through 270 (of 1,228 total)