Viewing 15 posts - 46 through 60 (of 3,478 total)
Is the PowerQuery source ever going to work in SSIS? If not, how do I call the PowerQuery refresh in Excel from inside SSIS?
April 9, 2025 at 3:49 pm
If you're trying to create a running total, use a windowing function.
SUM(1 + COALESCE(Fact0r,0)/100) OVER (ORDER BY PricingDate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)
?
Just make sure your "window" defining...
April 8, 2025 at 11:25 pm
Got some data instead of just pictures?
Oh, something like this:
SELECT
roh.itemID,
roh.[Best Before Date],
roh.[On Hand],
oa.TotalOrders
FROM REporting.FGMonthlyRiskOnHand roh
OUTER APPLY (
SELECT SUM(SalesOrders) AS TotalOrders
FROM Reporting.FGMonthlyRiskSales mrs
WHERE mrs.ItemID =...
April 5, 2025 at 9:40 pm
When you define your CTE, you have to specify the column names...
WITH cteExample (FirstName, LastName, IDNo)
AS
(
SELECT fName, LName, NotMySSN
FROM tableX
)
SELECT FirstName, LastName
FROM cteExample
WHERE IDNo > 10;
If you...
April 1, 2025 at 4:45 pm
Use SUM() instead of ROW_NUMBER()?
March 26, 2025 at 4:25 pm
You don't have anybody building databases in Access do you? That's where I'd look. My guess is that someone has permissions on your Master Data Services instance that he shouldn't....
March 17, 2025 at 10:38 pm
the sp_foreachdb part?
March 17, 2025 at 1:59 am
This may give you an idea... I dumped the result of the query into a temporary table. (Not sure how to parameterize the object name, for some reason.)
March 16, 2025 at 7:37 pm
This may give you an idea... I dumped the result of the query into a temporary table. (Not sure how to parameterize the object name, for some reason.)
March 16, 2025 at 7:37 pm
Oh riiiiiiight! (silly me!) ... RedGate has such a tool. (It's a good thing that nobody that works for Red Gate is on here... you know, like Grant or Steve!)
A...
March 13, 2025 at 3:59 am
Welcome! Getting a useful answer can be tricky. So Jeff Moden wrote a great article that explains how to ask a question in such a way that it gets answered....
February 27, 2025 at 5:51 pm
Oh, like thaaaaaaat! Thanks! Proof that I almost never write table-valued functions... mostly just lots of Common Table Expressions. Come to think of it, is there a good article that...
February 24, 2025 at 3:13 pm
Steve,
Could you set up a project in VS Code and make it work like Azure Data Tools? Oh, and post a link to it here. (maybe post it on GitHub)...
February 16, 2025 at 4:15 am
Is there are good "Welcome to Visual Studio Code, ADT people!" article somewhere?
(So far, I'm not a fan of VSC... who moved my cheese??!)
February 14, 2025 at 10:24 pm
Ask anything you want,. If you have a specific question about data, you might want to read this article, because asking a good question is key to getting a useful...
February 13, 2025 at 1:41 am
Viewing 15 posts - 46 through 60 (of 3,478 total)