Comments
Sort by recent activity
1. Run this query, save results to excel and then send to the business analyst to fill in the description
SELECT TABLE_SCHEMA AS SchemaName,
TABLE_NAME AS TableName,
COLUMN_NAME AS ColumnName,
'' AS [Description goes here]
FROM
INFORMATION_SCHEMA.COLUMNS
ORDER BY SchemaName,
TableName,
ColumnName;<br>
2. Once you have the description from the BA, plug them into this query exec sp_addextendedproperty
@name = N'MS_Description'
,@value = N'Description supplied by the business analyst'
,@level0type = N'Schema', @level0name = 'dbo'
,@level1type = N'Table', @level1name = 'The table name goes here'
,@level2type = N'Column', @level2name = 'The column name goes here'
3. Run SQL doc and it should produce what you need This all said, I've not actually tried it myself yet. / comments
1. Run this query, save results to excel and then send to the business analyst to fill in the description
SELECT TABLE_SCHEMA AS SchemaName,
TABLE_NAME AS TableName,
COLUMN_NAME AS C...
Hello the below link explains how you can use sp_addextendedproperty within SQL server to add explanations to column and tables and store this information in the database... You can then use red-gate SQL doc to use that information to generate a data dictionary in Word/PDF/HTML https://www.red-gate.com/hub/product-learning/sql-doc/documenting-a-sql-server-data-catalog-in-html-and-git-markdown?product=sql-doc One potential alternative tool is Microsoft Purview - it should mean that you can add table/column descriptions using a web UI (as asset descriptions within Purview Data Catalog)... although I have not actually used Purview yet so remains unproven to me as of today. cheers Ben / comments
Hellothe below link explains how you can use sp_addextendedproperty within SQL server to add explanations to column and tables and store this information in the database... You can then use red-gat...
as an update, in case someone has similar use case, I am now looking at two options: 1. 'analyse data' feature in excel 2. 'column profiling' feature in power bi. struggling to get the Power BI to work but will do some more testing. more information below: https://support.microsoft.com/en-us/office/analyze-data-in-excel-3223aab8-f543-4fda-85ed-76bb0295ffc4 https://sqlskull.com/2021/02/28/profile-data-in-power-bi/ / comments
as an update, in case someone has similar use case, I am now looking at two options:1. 'analyse data' feature in excel2. 'column profiling' feature in power bi.struggling to get the Power BI to w...
OK, thanks @Ben_P - useful to know [image] / comments
OK, thanks @Ben_P - useful to know
Best of luck Annabel, you'll be a great mum [image] / comments
Best of luck Annabel, you'll be a great mum
Kathi did a great job. I remember she did one on Kerberos / SSRS that i'd struggled with for ages. Congrats on the new role [image] / comments
Kathi did a great job. I remember she did one on Kerberos / SSRS that i'd struggled with for ages. Congrats on the new role
Hi Louise I've seen a lot of over-complicated "data governance" frameworks implemented at companies so for me personally the "governance" term would put me off! The main things I would expect the term to encompass would be masking, tracking of changes/deployments (i.e. Ben did an ALTER stored procedure on 1/1/2022), tracking of backups etc. The perfect name will probably be clear after people have seen your webinar.[image] Not sure if "Database Compliance Automation" would be worth a shout if it is centered around the database? cheers [image] Ben / comments
Hi LouiseI've seen a lot of over-complicated "data governance" frameworks implemented at companies so for me personally the "governance" term would put me off!The main things I would expect the te...
i'm a bit late to the game on this one! i would have been keen to watch. one area that doesn't get talked about enough in DEI efforts imo is the exclusion of people who don't want to have one of the covid vaccinations on offer. companies seem to talk a lot about diversity and inclusion but simultaneously do not accept diversity on this issue and go out of their way to exclude people who make a decision they don't like - and lose talent because of it... has only happened in the care home sector in UK but i think it's more widespread in other places. (p.s. sorry to bring up coronavirus as i know it gets talked about so much!) the other area of diversity and inclusion that I feel gets forgotten about is that there is a bias towards hiring extroverted people - and this is made worse by some interview formats... I like setting up a small practical exercise so that it's not all talking through competency based questions and being able to think on your feet under pressure. we interviewed someone last week who was getting out of breath and he was struggling to get his words out and my boss basically said, "let me tell you about the team and company" and then did a 5-minute spiel where the interviewee just had to list...he basically had a chance to catch his breath and reset and was so much comfortable when the questions resumed. cheers Ben / comments
i'm a bit late to the game on this one! i would have been keen to watch.one area that doesn't get talked about enough in DEI efforts imo is the exclusion of people who don't want to have one of th...
I can share something I have done at three companies using Sql Source Control that has worked brilliantly but probably only works if there are one or two developers co-located. At the time we used SVN and TFVC and didn't use branching. Also, I was pretty strict on one-piece flow. It's not best practice but is so quick and easy to setup and move code around environments. 1. Hook all your environments up to source control using the 'dedicated' model irrespective of whether you are using shared or dedicated environments. for me, this included prod. 2. Develop in your development environment and commit using Sql Source Control 3. When you want to move the change to a test environment, just use the Get-Latest tab. Same with production deployments. 4. If you ever did need to do an emergency hot-fix in prod. Just push to source-control from there and make sure you get the latest on your development environment straight away. Some people may baulk at this haha but I reckon I have done over 3,000 commits and 100's of production deployments using this method without ever running into a problem!! It also means you only ever work in one tool, SSMS. CI/CD pipelines are all the rage but imo they are not trivial to setup and they are not essential to building great software, especially for very small, tight-knit teams. Also worth noting that this was on Data Warehouse projects and I had created automated tests so I knew early whether my changes would work - the tests just weren't triggered, i had to click a button [image] / comments
I can share something I have done at three companies using Sql Source Control that has worked brilliantly but probably only works if there are one or two developers co-located. At the time we use...
It has bailed out a lot of teams I have worked in whose database development process could only be described as a free-for-all. / comments
It has bailed out a lot of teams I have worked in whose database development process could only be described as a free-for-all.