|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, June 14, 2013 2:56 PM
Points: 93,
Visits: 380
|
|
Ah, yes. I think I know why. There's a setting in SSMS (buried somewhere, I can never remember the exact spot) where you can set the text output limit. In SQL Server 2005 I think it's either under Tools -> Options -> Query Results -> Results to Text: Maximum number of characters displayed in each column (I have mine set to 8192)... or it's the Tools -> Options -> Query Execution -> SQL Server -> General: SET TEXT SIZE (I have this set to 2147483647).
In 2008 I think it may be buried somewhere else in the options, perhaps even named differently.
Let me know if any of that helps and if not I will get on to a 2008 box as soon as I can and test it out.
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, June 14, 2013 2:56 PM
Points: 93,
Visits: 380
|
|
New features coming soon (just as soon as the folks at SSC.com approve the code changes):
Rewrote Time Calculation Logic (output now DAYS HH:MM:SS)
Added Fields To Output:
"SQL_Statement_Current" "End_Of_Batch" "Plan_Cache_Object_Type" "Plan_Object_Type" "Plan_Times_Used" "Plan_Size_MB"
Expanded "Running" Type Indicators
Added System Reserved SPID Indicator To "SPECID"
Added "C" Type "@v_Filter" Option
Merged "I?" And "O?" Help Parameters Into "?"
Changed Help Output From RAISERROR To PRINT
Renamed Input Variables
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, October 03, 2012 10:05 AM
Points: 5,
Visits: 39
|
|
| I'm running SQL 2008 and can't locate where to find it, so if you could test on SQL2008, that would be great!
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, June 14, 2013 2:56 PM
Points: 93,
Visits: 380
|
|
| Location of where to find the procedure?
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, October 03, 2012 10:05 AM
Points: 5,
Visits: 39
|
|
| No, sorry. Where to find how to change the text size on SQL2008 as your previous thread says you could look around on a SQL 2008 server....
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, June 14, 2013 2:56 PM
Points: 93,
Visits: 380
|
|
| Ah! Sorry, misunderstood. In SSMS, go to Tools -> Options. From there, select Query Execution and you should see SET TEXTSIZE. I have it set to 2147483647. The new code (once approved by SSC.com) should automatically set this during execution. :)
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, June 14, 2013 2:56 PM
Points: 93,
Visits: 380
|
|
| The latest changes are now online!
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, May 17, 2013 1:22 PM
Points: 4,
Visits: 248
|
|
Thx for sharing the code,, I am getting the below error
Msg 535, Level 16, State 0, Line 10 Difference of two datetime columns caused overflow at runtime.
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, June 14, 2013 2:56 PM
Points: 93,
Visits: 380
|
|
| Are you able to isolate the SPID throwing the error? If yes, are you able to identify the column in question?
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, May 17, 2013 1:22 PM
Points: 4,
Visits: 248
|
|
| now it works. seems it was one off issue.. but I will keep you posted.. thx and nice work ..
|
|
|
|