Viewing 15 posts - 406 through 420 (of 4,820 total)
October 31, 2018 at 10:05 am
October 31, 2018 at 8:52 am
Yeah, if you were Microsoft, would you want to hand someone that kind of authority over a SQL Server? Think about how easy it would then be to take over...
October 31, 2018 at 8:44 am
In this case, it appears that your expression already includes a function in it: TimeLineMatch. Not sure how that affects things or what kind of function it is. I personally...
October 31, 2018 at 8:22 am
October 31, 2018 at 8:12 am
October 31, 2018 at 7:45 am
October 31, 2018 at 7:37 am
October 30, 2018 at 2:40 pm
October 30, 2018 at 8:20 am
Lynn's code, formatted for readability and avoids the significant repetition:USE msdb
GO
CREATE PROCEDURE dbo.sp_getbackuphistory
@DATABASE varchar(50),
@TimeDiff int OUTPUT,
@LatestBackupFinishDate datetime OUTPUT
AS
BEGIN
SELECT
@LatestBackupFinishDate...
October 30, 2018 at 8:09 am
October 30, 2018 at 7:58 am
I get the feeling that the problem is not enough NULL handling. Try the following:CREATE PROCEDURE [dbo].[usp_test]
@year char(4),
@criteria varchar(50) = NULL,
...
October 30, 2018 at 6:53 am
CREATE PROCEDURE [dbo].[usp_test]October 29, 2018 at 3:26 pm
October 29, 2018 at 2:21 pm
Viewing 15 posts - 406 through 420 (of 4,820 total)