Viewing 15 posts - 1,156 through 1,170 (of 13,878 total)
I have a query that returns 9 rows of data. I want to remove the rows that cancel each other out by the amt column. See current results below...
October 10, 2022 at 7:35 am
Hi Frederico,
Thank you so much for your answer. I got a couple of questions before my code, if this ok with you. The first and the second CASE are...
October 10, 2022 at 7:30 am
If you have Jeff Moden's infamous dbo.DelimitedSplit8K splitter function installed (link), this becomes fairly straightforward:
DROP TABLE IF EXISTS #SomeText;
CREATE TABLE #SomeText
(
Name VARCHAR(500)...
October 8, 2022 at 8:53 am
Does your table have any keys or indexes?
October 7, 2022 at 3:17 pm
What does 'not working correctly' mean? No results? Error message? Wrong results? Something else?
Note that if TRANSACTION_DATE is a DATETIME (rather than a DATE), BETWEEN is not the recommended way...
October 5, 2022 at 2:50 pm
I also suggest you start using <> rather than != for 'not equal to'. <> is a more widely accepted SQL standard than !=, as far as I know.
October 5, 2022 at 11:32 am
Change your SELECT to
SELECT TOP 100 PERCENT
with the rest of the query remaining as it is.
October 5, 2022 at 11:29 am
If you switch the level back to 120, this stops happening?
'First' = first ever, or first since instance was started, or first time in current day?
October 3, 2022 at 2:57 pm
I have never used Jetbrains rider, so no. But as database properties are created in VS before the creation of any DACPACs, I suspect that it cannot be done.
October 3, 2022 at 1:56 pm
Have you added the variable to the SQLCMD Variables collection in Database Properties?
October 3, 2022 at 1:09 pm
I do not know the answer to your question, but I do have a suggestion. Rather than calling a stored proc to do the column-name checks, keep things inside SSIS...
October 3, 2022 at 12:07 pm
Is this just a one-off, or are you designing a process which needs to run regularly and automatically?
October 3, 2022 at 10:23 am
I am as puzzled as you.
Have you tried playing around with the number of rows of comments to see how (or whether) that affects anything?
You could also try changing the...
September 30, 2022 at 9:55 am
This is what I've come up with so far. Can someone grade me on this, or say if you think there's a better way?
with ad as...
September 30, 2022 at 8:39 am
Viewing 15 posts - 1,156 through 1,170 (of 13,878 total)