Viewing 15 posts - 1 through 15 (of 18 total)
On the speaking/blogging side of things, I have a very badly maintained blog that has patches of 2-3 months of being regularly updated and then much longer periods of not...
January 29, 2024 at 1:37 pm
You could split the database into several projects, and only deploy the ones you need. You can link the projects together using same database references.
So DBProjectA would contain the 2...
February 14, 2023 at 3:56 pm
One benefit you get from using procs is you can restrict what the service account can see at a more granular level.
You can give the service account exec permissions on...
June 21, 2022 at 11:59 am
Looking at this, the RequiredTable results are not possible from the query you've written. In the query, you select all of the columns from table 1, but the result rows...
June 21, 2022 at 11:05 am
I switched jobs late last year, almost entirely because of the attitude towards the development team embedded in the culture at my previous job. I was one of the last...
February 4, 2022 at 2:07 pm
I gave my first ever conference talk at New Stars of Data. That's a pretty huge win for me, and helps to balance out that I didn't manage to do...
January 10, 2022 at 4:08 pm
Just FYI, the reason you're getting NULLs in the code you have is the PARSENAME function.
This function is designed to return a part of an object name. As objects can...
April 9, 2021 at 6:17 am
I'm by no means an API expert, but you want some code that will call the API in a similar way to Postman. This might be a bit of C#...
November 11, 2020 at 3:08 pm
Option 2 is probably the way to go. Cross database dependencies are very difficult to deal with in SSDT. I always found I had to do a certain amount...
October 14, 2020 at 4:05 pm
+1 on driving ETL pipelines through metadata where possible. I've implemented systems like that in a few places, and it can be more of an upfront cost but it makes...
September 30, 2020 at 9:24 am
I usually have a lot of long weekends away doing things that tend to eat up my yearly holiday. With most of those looking like they won't happen, I've booked...
May 15, 2020 at 1:46 pm
I've had a couple of cases where I've wanted to share a sequence across two or more tables. Usually when I have several different sources for something like customer data,...
May 6, 2020 at 7:27 am
It sounds to me like you actually want to normalise your data a bit.
So, split TableA into Transaction and Item, where Transaction holds TransactionNo, TransactionDate, and Item holds ItemNo and...
April 29, 2020 at 2:21 pm
Maybe LocationAddress if you're primarily looking at attributes of an address?
April 29, 2020 at 2:19 pm
There are a few ways to approach this. I'd usually use a correlated sub-query as below:
SELECT
PremChar.PREM_ID AS PremiseID
, MAX(CASE -- The MAX will ignore NULLs...
January 22, 2020 at 11:03 am
Viewing 15 posts - 1 through 15 (of 18 total)