Viewing 5 posts - 1 through 5 (of 5 total)
Got to know that by default it takes the length as 1 if the size is not declared. Thank you....
However, I still did not get the difference between length...
October 3, 2012 at 2:53 am
In the above SP the following statement is found to be time consuming.... i can say it is taking 17 ms everytime it is being executed...
Select @YTDParamValue=isnull(cast(Sum(cast(Corp_Conv_Value as decimal(25,3)))...
November 16, 2007 at 2:45 am
the code the the SP usp_Ehs_Evaluate_Formula_WithYTD is as follows:
ALTER Procedure [dbo].[usp_Ehs_Evaluate_Formula_WithYTD]
(
@Formula Varchar(2000),
@Period Varchar(500),
@YTDPeriod Varchar(500),
@LocId Varchar(10),
@LevId int,
@val Varchar(2000) Output,
@YTDVal Varchar(2000)...
November 16, 2007 at 2:42 am
As Rajesh suggested me I have tried by removing the insert statement in the while loop and using update statement instead of that...... but it is taking more time than...
November 15, 2007 at 11:52 pm
yes..... surely..... but i didnt do that because the SP is quite big 🙂
ALTER PROCEDURE [dbo].[usp_FormulaBuilder_Levels] (@Month int, @year int) AS
SET NOCOUNT on
declare @MonthStr table(id int,mnt...
November 15, 2007 at 11:49 pm
Viewing 5 posts - 1 through 5 (of 5 total)