Viewing 15 posts - 1,321 through 1,335 (of 3,480 total)
Okay, I'm not a DBA, so take this with a grain of salt.
What if you had a table that held the size of the log over the course of...
February 18, 2018 at 2:36 pm
Yeah, I figured that out after taking a break for a while... (That's my crummy code he was posting about.)
Took me a minute to figure out I could use...
February 18, 2018 at 2:24 pm
Why not just use a the 3-part naming convention when creating your view?
USE Tempdb;
GO
CREATE VIEW MyView
AS
SELECT CustomerID
FROM Galactic.dbo.Customer;
I'm creating...
February 17, 2018 at 1:31 pm
Thanks for the data, and expected results - it helped a lot. I fixed it up and created the scripts to populate your table - (since you're new, you get...
February 17, 2018 at 12:50 am
This would be infinitely easier if you normalized your table structure first. Repeating groups is the first thing you remove when normalizing a table.
February 14, 2018 at 12:10 pm
Can't you take my union query (or similar) as the source, and then use COUNT() as the aggregate at the intersection? Something like A would be on Columns, C would...
February 12, 2018 at 2:57 pm
General rule of thumb when you're not sure of a design - create the tables you think are correct. Then write queries to answer the questions you have about the...
February 12, 2018 at 2:50 pm
What does the raw data look like? The results of a Matrix are useless if you're trying to create a chart - you need the unpivoted data.
February 12, 2018 at 12:01 pm
That looks more like the underlying table is set up wrong. Either that or your example is misleading.
If your table is set up wrong, a query like this might...
February 12, 2018 at 7:52 am
Jeff,
I would model it like this:
Person--(1,M)--FoodAllergy--(M,1)--FoodItem--(1,M)--Ingredient_In--(M,1)--Recipe
Person has FoodAllergy to FoodItem which can be an Ingredient in one or more Recipes.
The structure of a junction table,...
February 11, 2018 at 11:20 am
I have a pie chart thats taking data from one of the dataset. My dataset...
February 9, 2018 at 10:52 pm
February 9, 2018 at 9:17 am
Probably the easiest way is to stack the tablixes on top of one another and set the visibility property based on the parameter value.
February 8, 2018 at 5:55 pm
Jack,
Luis' answer fixed it. This is the query I ended up using that worked for me:SELECT candidate_id, first_name, last_name
FROM Candidate AS c
WHERE (NOT...
February 8, 2018 at 5:52 pm
Super cool, Luis! Many graces!
This worked:SELECT candidate_id, first_name, last_name
FROM Candidate AS c
WHERE (NOT EXISTS
(SELECT 1 AS Expr1
FROM Candidate...
February 8, 2018 at 4:40 pm
Viewing 15 posts - 1,321 through 1,335 (of 3,480 total)