Viewing 15 posts - 1 through 15 (of 85 total)
November 3, 2017 at 12:34 pm
November 3, 2017 at 12:32 pm
November 3, 2017 at 11:56 am
You can't cast 'ABC' to...
November 3, 2017 at 11:28 am
Apologies for the missing loop. Thanks for the different approaches. I just wanted to learn the other ways we can append those sequence of numbers with out using the for...
November 11, 2015 at 1:06 pm
Eric,
the compatibility mode is set to SqlServer2008(100).
Thanks
RM.
April 9, 2015 at 12:43 pm
skrs (1/13/2015)
January 13, 2015 at 8:35 am
With out the Windows Function
;with CTE as
(select rownum = ROW_NUMBER() OVER (ORDER BY HolidayName,HolidayDate desc),
HolidayName,HolidayDate from @table)
SELECT
cte.HolidayDate,
CTE.HolidayName,
Previous.HolidayDate PreviousHolidayDate
FROM CTE
LEFT JOIN CTE Previous ON Previous.rownum = CTE.rownum + 1
and Previous.HolidayName...
January 6, 2015 at 9:56 am
Alexander Suprun (9/26/2014)
rxm119528 (9/26/2014)
Alexander Suprun (9/26/2014)
rxm119528 (9/26/2014)
This starts truncating after 43696 either using OBJECT_DEFINITION or sys.sql_modules.Nothing is truncated. Accept it. The stored procedure has 43696 characters.
Please add one character...
September 26, 2014 at 4:49 pm
Alexander Suprun (9/26/2014)
rxm119528 (9/26/2014)
This starts truncating after 43696 either using OBJECT_DEFINITION or sys.sql_modules.Nothing is truncated. Accept it. The stored procedure has 43696 characters.
Please add one character to it.
September 26, 2014 at 4:24 pm
Eirikur Eiriksson (9/26/2014)
September 26, 2014 at 2:54 pm
Alexander Suprun (9/26/2014)
rxm119528 (9/26/2014)
These are the actual statistics of the procedureWords9899
Line2406
Characters(no Space)84040
Characters(With Space)124451
Are you sure?
SELECT LEN(definition) FROM sys.sql_modules WHERE object_id = object_id('procA')
yes SELECT LEN(definition) FROM sys.sql_modules WHERE object_id = object_id('procA')...
September 26, 2014 at 2:42 pm
These are the actual statistics of the procedure
Words9899
Line2406
Characters(no Space)84040
Characters(With Space)124451
September 26, 2014 at 1:44 pm
Alexander Suprun (9/26/2014)
SELECT [ObjectName], LEN([TSQLCommand]) FROM [dbo].[tblStoredProcedureAudit]
?
procA 124255
September 26, 2014 at 1:38 pm
Viewing 15 posts - 1 through 15 (of 85 total)