SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Data with Provenance


Data with Provenance

Author
Message
Phil Factor
Phil Factor
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17237 Visits: 3180
Comments posted to this topic are about the item Data with Provenance


Best wishes,

Phil Factor
Simple Talk
fregatepallada
fregatepallada
Old Hand
Old Hand (361 reputation)Old Hand (361 reputation)Old Hand (361 reputation)Old Hand (361 reputation)Old Hand (361 reputation)Old Hand (361 reputation)Old Hand (361 reputation)Old Hand (361 reputation)

Group: General Forum Members
Points: 361 Visits: 86
I asked a question - when JSON in SQL Server could be constrained by collection of JSON schemas in the same fashion how Microsoft implemented a typed XML data in SQL Server. No answer so far Sad
robert.sterbal 56890
robert.sterbal 56890
SSCrazy Eights
SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)

Group: General Forum Members
Points: 9354 Visits: 1691
This is a signifigant issue where I work. Thanks for raising your concerns in an intelligent way.
Eric M Russell
Eric M Russell
SSC Guru
SSC Guru (111K reputation)SSC Guru (111K reputation)SSC Guru (111K reputation)SSC Guru (111K reputation)SSC Guru (111K reputation)SSC Guru (111K reputation)SSC Guru (111K reputation)SSC Guru (111K reputation)

Group: General Forum Members
Points: 111688 Visits: 14932
Well, it's stupid to publish a dataset without knowing the meaning of what all columns or attributes are included. I'd expect better forethought from a healthcare organization knowing that the their data is potentially very patient-centric. When in doubt, leave it out.


"The universe is complicated and for the most part beyond your control, but your life is only as complicated as you choose it to be."
Phil Factor
Phil Factor
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17237 Visits: 3180
Thanks a lot for some very interesting replies. The whole business of data transfer makes me pretty damned scared. The quicker and tighter we can nail down these issues the better, and I find it disappointing that Microsoft are one of the few database vendors who aren't moving behind the JSON Schema standard


Best wishes,

Phil Factor
Simple Talk
Eric M Russell
Eric M Russell
SSC Guru
SSC Guru (111K reputation)SSC Guru (111K reputation)SSC Guru (111K reputation)SSC Guru (111K reputation)SSC Guru (111K reputation)SSC Guru (111K reputation)SSC Guru (111K reputation)SSC Guru (111K reputation)

Group: General Forum Members
Points: 111688 Visits: 14932
We can also question whether schema-less XML and JSON documents (or BLOBs, or images, or free text) belong in SQL Server in the first place. The user community has already asked for MongoDB style schema validation in Azure CosmosDB, and it seems the product team has indicated it's on the roadmap for 2019.
https://feedback.azure.com/forums/263030-azure-cosmos-db/suggestions/33464752-support-for-document-validation-using-json-schema


"The universe is complicated and for the most part beyond your control, but your life is only as complicated as you choose it to be."
xsevensinzx
xsevensinzx
SSC-Insane
SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)SSC-Insane (22K reputation)

Group: General Forum Members
Points: 22256 Visits: 5960
Eric M Russell - Monday, December 3, 2018 9:05 AM
Well, it's stupid to publish a dataset without knowing the meaning of what all columns or attributes are included. I'd expect better forethought from a healthcare organization knowing that the their data is potentially very patient-centric. When in doubt, leave it out.

This is my thoughts exactly. I would say it's silly to think that anyone using a document database is all of a sudden unaware of what's going into the system or that document databases and the likes are naturally flawed or less secure because of this. Like it's some sort of problem with the technology more than the humans managing it. I mean, I get it. You are not defining a schema. But if you are giving people the power to do bad things, they will do it regardless of the system. I feel there is some extreme bias going on in this article and it sucks it exists here.

robert.sterbal 56890
robert.sterbal 56890
SSCrazy Eights
SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)

Group: General Forum Members
Points: 9354 Visits: 1691
Phil Factor - Monday, December 3, 2018 9:20 AM
Thanks a lot for some very interesting replies. The whole business of data transfer makes me pretty damned scared. The quicker and tighter we can nail down these issues the better, and I find it disappointing that Microsoft are one of the few database vendors who aren't moving behind the JSON Schema standard

How is this standard being promoted? Is there a blog post about the path to adoption and the details somewhere?

patrickmcginnis59 10839
patrickmcginnis59 10839
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20105 Visits: 8299
The article should have been done with the phrase "Unfortunately, nobody had spotted an insignificant-looking XML column in an innocent-looking table," and concluded by recommending the age old advice that's independent of technology, when it comes to permissions, make sure that the DEFAULT is to DENY access. This way if you overlooked an insignificant looking column OF ANY KIND, it would have remained secure because that would have been the default.


to properly post on a forum:http://www.sqlservercentral.com/articles/61537/
Phil Factor
Phil Factor
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17237 Visits: 3180
@robert See json-schema.org. The LEARN section is a good place to start. Also, and rather simpler at Newtonsoft . See their introduction and Validating JSON with JSON Schema


Best wishes,

Phil Factor
Simple Talk
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum









































































































































































SQLServerCentral


Search