Viewing 15 posts - 1,171 through 1,185 (of 13,849 total)
Data may or may not overlap.
So, just to confirm, if we added the following row to your sample data
('A', 202208,50)
you would still wish to generate the
('B',202208,0)
row?
September 14, 2022 at 8:45 am
Yes, my initial solution was not correct, which I realised after re-reading your post.
September 14, 2022 at 8:33 am
You have Data items A, B and C all happening on different yearwks. Will that always be the case, or could you have overlapping data items, eg
('A',202201,10) and ('B',202201,20)
?
September 14, 2022 at 8:25 am
Please see this link – it may help you get past these errors.
September 13, 2022 at 4:49 pm
You are seeing this error locally in SSDT, on the server, or both? Is this the same server that was running 2017, or a new server?
September 13, 2022 at 4:13 pm
I don't think there is any chance of finding something like this. C# and VB.NET are functionally equivalent, Excel and SQL Server are not.
A manual rewrite is required.
September 12, 2022 at 7:33 am
@jeffwilliams "It looks like you put a DISTINCT on every single statement - which either means a bad join or bad design." What will you recommend here or how...
September 11, 2022 at 3:13 pm
You should get into the habit of using 'YYYYMMDD' as your literal date format. This format is unambiguous and works regardless of which 'DATEFORMAT' is in place.
Regarding your question, your...
September 11, 2022 at 10:46 am
Are you sure it's the driver causing the issue, rather than the deprecated TLS protocol? You should probably be aiming to use TLS 1.2.
September 9, 2022 at 1:26 pm
I suggest that you use a SQL query as the source for your dataflow, with output to a single column. Something like this:
DROP TABLE IF EXISTS #Place;
CREATE...
September 9, 2022 at 8:06 am
Is this a blog post, or do you have a question?
September 9, 2022 at 7:54 am
This is a very long post containing precisely zero questions.
Vetting such code is a job for a paid consultant.
September 9, 2022 at 7:53 am
To generate such a script, launch SSDT and select Tools/SQL Server/New Schema Comparison.
Select your source and target databases.
Go into Settings and select only Indexes.
Run the comparison and script out the...
September 8, 2022 at 7:01 am
Viewing 15 posts - 1,171 through 1,185 (of 13,849 total)