Viewing 15 posts - 2,626 through 2,640 (of 11,678 total)
One way you could tackle this is to concatenate all the columnB values into one string per colA:
a 1,3,5
b 1,2
c 1,3,5
d 2
Then you take a DISTINCT over colB and split...
June 17, 2014 at 1:36 am
ashalatha.cse76 (6/17/2014)
what is mycatId which u have i didnt get that
It's just a placeholder I made up.
You have to substitute it with your own values/columns/variables...
June 17, 2014 at 1:32 am
The following expression works:
=iif(Fields!ColumnB.Value = "" Or IsNothing(Fields!ColumnB.Value),"Bold","Normal")
I used the following data set:
SELECT 'Test' AS ColumnA, 'Not Empty' As ColumnB
UNION ALL
SELECT 'Test2',NULL;
In the second statement, I also used an empty...
June 17, 2014 at 1:30 am
Does the stored procedure itself run successfully on MySQL?
June 17, 2014 at 1:18 am
You can add the EXISTS statement to the WHERE clause of the INSERT statement.
A mock-up:
INSERT INTO order_master
SELECT values
FROM somewhere
WHERE EXISTS (SELECT 1 FROM category-subcategory-association WHERE cat_id = myCatID and sub_cat_id...
June 17, 2014 at 1:17 am
mickyT (6/17/2014)
Koen Verbeeck (6/17/2014)
mickyT (6/16/2014)
One to make you smile if you have 2012:-)...
Msg 208, Level 16, State 1, Line 3
Invalid object name 'dbo.DelimitedSplit8K'.
June 17, 2014 at 12:29 am
Grant Fritchey (6/16/2014)
Koen Verbeeck (6/16/2014)
Sean Lange (6/16/2014)
Koen Verbeeck (6/16/2014)
Evil Kraig F (6/16/2014)
June 17, 2014 at 12:21 am
Jeff Moden (6/16/2014)
ykonline (6/13/2014)
As per requirement we are not supposed to use UDF
I suspect the people that made that requirement don't know that UDFs have 3 forms, one of which...
June 17, 2014 at 12:18 am
mickyT (6/16/2014)
One to make you smile if you have 2012:-)...
Msg 208, Level 16, State 1, Line 3
Invalid object name 'dbo.DelimitedSplit8K'.
June 17, 2014 at 12:10 am
Shadab Shah (6/16/2014)
And where can i find...
June 17, 2014 at 12:06 am
Easy one (as I recently read this blogpost: Change data through CTE’s[/url]). Thanks for the question!
June 17, 2014 at 12:00 am
Sean Lange (6/16/2014)
Koen Verbeeck (6/16/2014)
Evil Kraig F (6/16/2014)
June 16, 2014 at 1:23 pm
waseemshaikh345 (6/16/2014)
I am using SQL server 2008R2
OK, so TSQL windowing functions are out of the picture unfortunately.
Although still perfectly possible in TSQL, you can calculate a YTD in SSRS itself:
June 16, 2014 at 1:21 pm
Evil Kraig F (6/16/2014)
June 16, 2014 at 12:54 pm
Viewing 15 posts - 2,626 through 2,640 (of 11,678 total)