Viewing 15 posts - 31 through 45 (of 47 total)
Sean Lange (3/20/2012)
Easiest solution is to stop using the text datatype. It is deprecated and will no longer be supported in the future. Instead you should use (n)varchar(MAX).
I totally agree...
March 21, 2012 at 5:14 am
The column is listed within the SUM function, outside of the subquery:
SUM([SLAMet])/COUNT([y.WO_NUM])*100 AS '%TotalMetSLA',
February 28, 2012 at 1:43 pm
Thank you Sean.
I added the 'FROM' keyword to the query, and now I'm receiving another error.
Msg 207, Level 16, State 1, Line 33
Invalid column name 'WO_NUM'.
The WO_NUM is...
February 28, 2012 at 1:21 pm
Thank you Lowell,
When I execute the revised query, I'm now receiving a syntax error.
Msg 102, Level 15, State 1, Line 28
Incorrect syntax near 'x'.
Just wondering if I need to add...
February 24, 2012 at 1:54 pm
After some tweaking with the subquery and limiting one of the criterias within the WHERE clause, I was able to get it to work!
Thank you John!
November 17, 2011 at 1:00 pm
John Michael Robertson (11/17/2011)
and cd.documentname like '%patient profile'
and cd.isincomplete...
November 17, 2011 at 12:34 pm
Hello Craig!
The OPTION (FORCE ORDER) worked great! Thank you so much! I'm going to run this in a test environment and execute an optimization plan against it.
Pete
November 8, 2010 at 2:46 pm
Thank you Craig,
Here are the results from the first query:
SELECT top 20 tud.Value
FROM cv3taskuserdata tud
WHERE ISDATE(tud.value) = 1
2010-10-07
2010-10-07 08:58
2010-10-29
2010-10-29 10:11
2010-10-07
2010-10-07 09:01
2010-10-07
2010-10-07 09:00
2010-10-12
2010-10-12 13:23
2010-10-12
2010-10-12 13:24
2010-10-12
2010-10-12...
November 4, 2010 at 3:13 pm
No result set came back from the second query.
Thank you 🙂
November 4, 2010 at 2:23 pm
Thanks Craig,
Below is the result set from the queries that you sent me:
SELECT top 20
oto.performedfromdtm
FROM
CV3OrderTaskOccurrence oto (nolock)
WHERE...
November 4, 2010 at 1:19 pm
The compatibility mode is set to 100 on the SQL Server 2008 R2 server, and 90 on the SQL Server 2005 server.
November 4, 2010 at 12:54 pm
Thanks guys.
Yes the tud.value column is a varchar column, but further down in the query within the WHERE clause, the tud.userdatacode = 'PRX IVPB EndDTM' criteria is limiting...
November 4, 2010 at 12:37 pm
Hello Mike,
Thank you for the reply. The code still fails with the same error.
PMF
November 4, 2010 at 12:12 pm
Nice job Timothy! Your article certainly covers all the bases, troubleshooting, monitoring, & performance tuning.
Taking snapshots of a server throughout the day (under normal conditions) is a great idea...
September 8, 2010 at 7:52 am
Todd McDermid (5/4/2010)
May 5, 2010 at 5:11 am
Viewing 15 posts - 31 through 45 (of 47 total)