Viewing 15 posts - 691 through 705 (of 3,489 total)
Assuming you cannot modify the stored procedure, and you want to be able to filter out all records WHERE CaseCompleted IS NULL, you can add a filter to your report...
June 19, 2020 at 1:32 pm
Is there helpful documentation on the PATINDEX function somewhere? the stuff on the MSFT site is useless.
June 18, 2020 at 4:11 am
Don't you have to use Contains for that?
--method of the xml data type. Inside the exit method,
--the XQuery contains()function is used to
--determine whether...
June 18, 2020 at 2:58 am
This is ugly, but appears to work. (Someone who knows how to do this better than I will undoubtedly chime in and show a much better way of doing it,...
June 18, 2020 at 2:34 am
The short answer to your question is to use the LAG function to get the value from the previous record. Something like this...
LAG([LoginTime],1) OVER (PARTITION BY EmpID ORDER BY [LoginTime])
Oh...
June 17, 2020 at 3:00 pm
Maybe use SSIS and a For Each file loop, and dump them all into a single table?
Or use Excel... put all the files in a single folder, use a folder...
June 16, 2020 at 4:38 pm
1 lakh = 100,000
June 16, 2020 at 2:51 pm
This place is really quiet compared to the normal before COVID. Makes me wonder if all the SQL folks got laid off.
June 16, 2020 at 12:29 am
If EffectiveDate indexed? What does the new execution plan look like for the updated query?
June 14, 2020 at 6:08 am
Read that maybe 20 times before I understood. LOL Let me see if I have this right... If this were a "normal" table of component parts...
CREATE TABLE Component(ComponentID INT IDENTITY...
June 10, 2020 at 12:17 am
If you have a Calendar table that's similar to one you would use for a Date dimension in DAX/SSAS Tabular, you could just specify the start and end dates of...
June 8, 2020 at 8:59 pm
progress! I created a Table-valued function to do the BOM stuff, then used CROSS APPLY to join it to OrderDetails, and it worked. (It's an approximation of a Work Order...
June 4, 2020 at 3:16 pm
Same as mine, except I put the column names at the beginning.
Glad you sorted it out. I didn't want to just give you the answer, because then you wouldn't learn...
June 3, 2020 at 2:47 pm
Viewing 15 posts - 691 through 705 (of 3,489 total)