Viewing 15 posts - 1 through 15 (of 3,396 total)
Okay. The other way I was thinking of doing it was to write a query to find changed prices each week (since he only sells cnce a week) and then...
November 21, 2024 at 3:51 pm
To quote Gene Wilder in "Charlie and the Chocolate Factory", "Wait a minute, Strike that! Reverse it! Thank you."
The trick is to avoid SSIS altogether. If you have DAX Studio...
November 20, 2024 at 10:20 pm
Martin,
I'm trying to work out options. Would you use something like a system-versioned table to handle the ingredient slowly changing dimension? Or can I just use a few fairly simple...
November 19, 2024 at 10:26 pm
Sounds like you're missing the other table, Student.
Student(StudentID (PK),...)
StudentTest(StudentID (PK1), TestID (PK2), TestScore)
Test(TestID (PK), TestDate...)
if you allow nulls in StudentTest(Score), then you can just cross join a filtered view of...
November 19, 2024 at 5:48 am
I'm trying to simulate price changes of some of my ingredients over time. (Not really necessary to change the prices of more than just some of the most commonly used...
November 18, 2024 at 10:57 pm
Thanks Steve! Like I said, I felt like I was missing something that should have been blatantly obvious! Thanks for clarifying!
So this is my plan (after staring at this for...
November 18, 2024 at 8:45 pm
Why not just script out all the objects and then run all that in a separate database?
Otherwise, you could make a copy of your database and then use dynamic SQL...
November 18, 2024 at 4:40 pm
Apparently Imke Feldmann wrote some code that does it... but by the looks of it, you have to configure everything just right:
Export data from Power BI using Python
"Re-search. It...
November 17, 2024 at 1:39 am
So essentially you're grouping islands together. (The island consists of consecutive months of data). Fancy that! I found an old Dwain Camps article! (I miss his posts... he could...
November 15, 2024 at 5:23 am
Pretend I'm dumb as a rock and explain how your result is correct and how you got there.
Are you talking about something like the "Islands Question" discussed by Itzik Ben-Gan...
November 15, 2024 at 12:07 am
Where's the data coming from?
I'm basically terrible at SSIS (but Phil's good at it, so listen to him), but you can pivot data in Excel using PowerQuery and then you...
November 11, 2024 at 11:16 pm
Got some details? Like the parameter values you're trying to pass, the parameter definition, the stored procedure text, the related column types and sizes... you know, something so we can...
November 7, 2024 at 9:18 pm
Setup:
USE tempdb;
GO
drop table if exists #procvalues;
drop table if exists #deptvalues;
create table #Procvalues
(
PatID varchar(10)
,AcctID varchar(10)
,ProcDate date
);
create table #Deptvalues (
PatID varchar(10)
,DeptDate date
,Department varchar(10)
);
GO
Insert into #Procvalues
values
('1','28304','2021-01-21')
,('2','34893','2021-01-17')
,('2','33845','2021-01-19')
,('3','39483','2021-01-13')
,('4','39056','2021-01-25')
,('5','29112','2021-01-09');
Insert into #Deptvalues
values
('1','2021-01-21', 'Dept1')
,('2','2021-01-15', 'Dept3')
,('2','2021-01-18',...
November 6, 2024 at 3:10 am
Normally you use report parameters, kinda like you do in Abscess. Normally, you just include the parameters in your stored procedure...
CREATE PROC ReportSP
@StartDate DATE,
...
November 5, 2024 at 5:59 pm
Viewing 15 posts - 1 through 15 (of 3,396 total)