Viewing 15 posts - 1 through 15 (of 24 total)
RESOLVED IT MYSELF
SELECT Name,
MAX(CASE WHEN Subject= 'English' THEN Subject END) AS Subject1,
SUM(CASE WHEN Subject= 'English' THEN Marks ELSE 0 END) AS Marks1,
MAX(CASE WHEN Subject= 'Maths' THEN Subject END)...
November 22, 2013 at 2:48 am
Thanks all for helping. Got it after making some validations.
November 19, 2013 at 5:04 am
I tried it and its getting saved with null values.:(
November 18, 2013 at 5:42 am
To my knowledge, improper coding of the web applications that allows hacker to develop and inject their SQL commands and which allows access to our web app held in the...
November 18, 2013 at 3:54 am
Hi Ed,
It's like I have a grid where I use a checkbox for bulk update by selecting multiple rows. Now I placed a footer template with the textbox below the...
November 13, 2013 at 5:24 am
Hi Jony,
I use this query and I get to see duplicate rows showing up for each row.
CREATE PROC Rep
AS
DECLARE @ReportingViews varchar
DECLARE @User varchar
SET @ReportingViews= CASE WHEN EXISTS(SELECT 1
FROM...
October 18, 2013 at 5:51 am
Got it sean! Thanks
October 17, 2013 at 8:22 am
Hi Lynn,
Is it possible to sort the User_Group column in this query.
For Instance:User_Group column has values like this
Hi
Hey
Hey
Hi
Expected Output should be like this
Hi
Hi
Hey
Hey
DECLARE @CCSG varchar
DECLARE @user1 varchar
SET...
October 17, 2013 at 4:34 am
Thanks a lot Lynn, it worked great.
October 17, 2013 at 4:06 am
Hi,
I am new to SQL and where should I declare that. I have no idea. If possible can you correct my query.
October 17, 2013 at 3:49 am
Yeah Nevyn,
Should have to consider you told. Its like we hardcore the group values and when changes are needed, its going to be really tedious.
October 11, 2013 at 7:01 am
Hi Sean,
I added information in the attachment. Hope this helps to sort out. Thanking you in anticipation.
Query for Scenario1:
SELECT *
FROM USER_PRFL up
INNER JOIN BSP_LOB_Grp_Lookup bl
ON bl.BSP_LOB_GRP = up.User_Group
INNER JOIN...
October 10, 2013 at 4:35 am
Viewing 15 posts - 1 through 15 (of 24 total)