Skip to content

SQL Server 2017, Thanks to Graph Database, can express certain kinds of queries more easily than a relational database by transforming complex relationships into graphs#354

Merged
perrysk-msft merged 36 commits intomicrosoft:masterfrom
segovoni:master
Jan 29, 2018

Conversation

@segovoni
Copy link
Copy Markdown
Contributor

@segovoni segovoni commented Jan 7, 2018

No description provided.

@msftclas
Copy link
Copy Markdown

msftclas commented Jan 7, 2018

CLA assistant check
All CLA requirements met.

@uc-msft
Copy link
Copy Markdown
Contributor

uc-msft commented Jan 25, 2018

Can you do the following?

  1. Remove sql-saturday reference in folder names / files names. Rename to a more meaningful name
  2. Use lowercase for file names and separate words with dash (-)
  3. For the SQL scripts, can you put the setup / create table statements in a separate file and the procs / functions in its own file. It is easier to understand that way.

@segovoni
Copy link
Copy Markdown
Contributor Author

segovoni commented Jan 25, 2018 via email

FROM
[Application].[People]
CROSS APPLY
(SELECT * FROM OPENJSON (CustomFields, '$.OtherLanguages')) As Languages
Copy link
Copy Markdown
Contributor

@jovanpop-msft jovanpop-msft Jan 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you just taking 0 element from the array? Is this equivalent to SELECT JSON_VALUE(CustomFields, '$.OtherLanguages[0]')?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Jovan,

Thanks for your suggestion, I used the function JSON_VALUE instead of OPENJSON.

@segovoni
Copy link
Copy Markdown
Contributor Author

Hi guys,

  • Remove sql-saturday reference in folder names / files names: Done

  • Use lowercase for file names and separate words with dash (-): Done

  • For the SQL scripts, can you put the setup / create table statements in a separate file and the procs / functions in its own file: Done

@segovoni segovoni changed the title Added some media for incoming demos on SQL Graph database SQL Server 2017, Thanks to Graph Database, can express certain kinds of queries more easily than a relational database by transforming complex relationships into graphs Jan 26, 2018
@perrysk-msft perrysk-msft merged commit 96f947b into microsoft:master Jan 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants