Viewing 15 posts - 331 through 345 (of 3,482 total)
views/stored procedures to hide columns from some users --Sure, you wouldn't let just anyone see a patient's Social Security Number, for example. If you did, and someone misused it, that...
June 23, 2022 at 10:13 pm
No problem. Just looking for general directions. I think I can figure the rest out myself. (Well, I hope I can!)
June 23, 2022 at 3:10 pm
Okay, I think I get it. Thanks, Chris!
So I would have an Ingredient table (IngredientKey, IngredientSK, IngredientName, Category, UnitPrice, ActiveDate) and then use FILTER() and/or TOPN() to get the most...
June 22, 2022 at 4:59 pm
SELECT Location_ID, Location, SUM(TotalRate)
FROM <tableName>
GROUP BY Location_ID, Location;
June 17, 2022 at 7:15 am
Sorry, missed the n0t-so-fine print.
Not a clue about PostGRES. =(
June 13, 2022 at 6:43 pm
I'm pretty sure this is what you want. First, create the Supplier table with a primary key, and then reference that in the constraints of the Product table. (it's a...
June 13, 2022 at 3:52 pm
What's the best way to segregate the SSRS stored procedures from the rest, put them in their own schema, and then grant users execute on the schema? (and SSRS devs...
June 10, 2022 at 9:41 pm
The pictures don't help a whole lot. Sounds like all you need is a matrix visual, and regions on one axis, months on the other, and SUM([Quantity]) at the intersection.
June 2, 2022 at 8:03 am
What reporting tool are you using? How's your data structured?
If you're querying against a data warehouse, I'd probably use Excel, because it provides a relatively simple UI. you can use...
May 17, 2022 at 7:57 pm
I'd do this a bit differently. You need at least two tables. One for Customer, and the one you have above. (Preferably one more, that has details about what MatchTypeID...
May 6, 2022 at 2:40 am
Thanks Martin!, I'll have a look.
And I guess I have to dust off Ralph Kimball's book.
April 28, 2022 at 2:44 pm
Maybe
SELECT SubmissionGUID, QuoteStatus
FROM #Subs
WHERE SubmissionGUID NOT IN (SELECT SubmissionGUID
FROM #Subs
WHERE QuoteStatus = 1);
April 25, 2022 at 5:51 pm
Viewing 15 posts - 331 through 345 (of 3,482 total)