Viewing 15 posts - 31 through 45 (of 2,853 total)
It sounds like a pretty big ask for a free forum to me, but my advice is you track whatever information you feel is relevant. There is data captured by...
July 29, 2025 at 7:18 pm
I give it -1 for suggesting a trigger. My rules with triggers is they can only be used if there is no other way. Put the stock update in...
July 29, 2025 at 7:06 pm
I'm sure there are a TON of these types of experiences. This and DBA's trying to fix issues that don't really exist. Pinal Dave had a good article recently about...
July 29, 2025 at 6:54 pm
It is still not working, I tried something similar, I think the issue is that @Period is an integer and @FiveYearAgo is not so if I do the where...
July 29, 2025 at 3:29 pm
That is always a fun thing to find and a fun thing to fix. Loops and row based logic are performance killers for SQL and unfortunately, I don't think any...
July 29, 2025 at 3:25 pm
I'd also like to add if rn, is_processed, and processed are all frequently used, I'd remove the "magic code" and persist those values to disk; even if they are calculated...
July 28, 2025 at 9:52 pm
As always with AI, you'll have to validate and test this all.
Mostly no rocket science, but applied guidelines as they should.
It will get better over time ...
I second this....
July 28, 2025 at 2:24 pm
So much out there relies on video and audio. As a deaf person, this is a whole world I struggle to interact with.
As an experiment, turn the sound...
July 25, 2025 at 5:28 pm
Hi Brian; thanks for the response.
Unfortunately, the [rn] is a pseudo-column from the ROW_NUMBER() window function so I'd have to store the output into a temporary table in order...
July 25, 2025 at 5:21 pm
As a random guess - I'd say your CSV has some invalid data in it such as a row with an extra/missing comma. This can happen when your CSV allows...
July 25, 2025 at 4:11 pm
As far as I am aware, there is no way to update a record AND select in a single query, but you could do it all in one transaction or...
July 25, 2025 at 2:48 pm
Thanks Phil for sharing the alternative to do. I never used VS database project for schema comparison. The idea of creating such script came as there was a requirement...
July 24, 2025 at 2:48 pm
Why would I need enterprise grade for a one man show? For something he'd run every few weeks? I'm not processing 100K files an hour.
If you can point out...
July 24, 2025 at 2:42 pm
That is very strange... If you have a diff tool (such as winmerge), it may help you look at the DTSX and/or DTPROJ files and try to figure out what's...
July 24, 2025 at 2:28 pm
How about doing it a little differently and instead of:
where @Period < (select LEFT(CONVERT(varchar(6),DATEADD(yyyy,-5, getdate()),112),6))
you first store the yyyymm in a variable with something like:
July 23, 2025 at 4:41 pm
Viewing 15 posts - 31 through 45 (of 2,853 total)