Viewing 11 posts - 16 through 26 (of 26 total)
The case statement in this SQL statement is not returning the correct results. It is returning all 1's.
Can someone point me in the direction where I am going wrong with...
February 26, 2022 at 3:44 pm
I apologize for posting twice. I didn't know there was a reporting services forum. Thank you!
February 26, 2022 at 3:30 pm
Thank you! I'll give it a try and let you know how it worked for me. Looks like it should work fine.
February 25, 2022 at 11:01 pm
Thank you! This worked great!
February 25, 2022 at 10:03 pm
Moving the fetch next statement fixed my issue.
Thank you!
February 16, 2022 at 9:37 pm
Thank you for your reply. I'm sorry for being such a beginner. Can you give me an example of how I would use SET to acomplish what I am trying...
February 16, 2022 at 6:59 pm
Thank you for your feedback.
If I wanted to insert multiple rows at one time with this stored procedure how would I modify the updated stored procedure to do that?
February 1, 2022 at 2:19 pm
Here is what I came up with to return a list of all inserted ID's:
USE [Research]
GO
/****** Object: StoredProcedure [WEB].[sp_GetCasesFromPowerPath] Script Date: 1/31/2022 3:09:49 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE...
January 31, 2022 at 10:52 pm
Does that just return the last inserted ID?
January 31, 2022 at 10:51 pm
I'll work on providing DDL, I just came up with a quick example because I can't share the actual ddl. I'll have to create a test example this weekend and...
January 21, 2022 at 10:49 pm
Viewing 11 posts - 16 through 26 (of 26 total)