Commit Graph
1337 Commits
Author SHA1 Message Date
Jovan Popovic cf21a42db7 Addressed UC's comments 2018-09-10 16:30:22 +02:00
Jovan Popovic 59fea19b50 Corrected DSP 2018-09-07 16:56:03 +02:00
Jovan Popovic 828dd93d1e Adding Application.Logs WWI sample
Added a table required to demo LOB support in CLUSTERE COLUMNSOTRE INDEXes.
Scenario is application logging. Applicaiton pushes log events that have large descriptions into the LOB column in CCI table. Table is compliant wiht Serilog logger for .Net and can be direclty used as a target for MSSQL Serilog sink:

In applicaition should be added the following changes to integrate serilog:
1. Download Serilog and Serilog.MSSQL.sink NuGet packages
2. Add the following packages:
using Serilog;
using Serilog.Sinks.MSSqlServer;

3. Configure logger:
var columnOptions = new Serilog.Sinks.MSSqlServer.ColumnOptions();
// Don't include the Properties XML column.
columnOptions.Store.Remove(StandardColumn.Properties);
columnOptions.Store.Remove(StandardColumn.MessageTemplate);
columnOptions.Store.Remove(StandardColumn.Exception);
// Do include the log event data as JSON.
columnOptions.Store.Add(StandardColumn.LogEvent);

var logger = new LoggerConfiguration()
                .WriteTo
                .MSSqlServer(   ConnString, "Logs", schemaName: "Application",
                                autoCreateSqlTable: false,
                                columnOptions: columnOptions
                                )
                .CreateLogger());

4. Log events:
var position = new { Latitude = 25, Longitude = 134 };
var elapsedMs = 34;

log.Information("Processed {@Position} in {Elapsed:000} ms.", position, elapsedMs);
log.Error(new IndexOutOfRangeException("Test"), "Error while processing {@Position} in {Elapsed:000} ms.", position, elapsedMs);
2018-09-07 16:10:10 +02:00
Jovan Popovic 4a6c5c24b3 Default output in SqlClr/CURL POST 2018-04-18 11:15:25 +02:00
Jovan Popovic d07eca8e01 Added POST with retry login in SqlClr asembly 2018-04-18 10:39:36 +02:00
Jovan Popovic c3004e2bd5 SqlClr CURL
Implementation of CURL function using CLR assemblies hosted in SQL Server
2018-04-16 13:16:33 +02:00
Jovan Popovic 6c917e2766 Update SupplierID in WebApi/UpdatePurchaseOrderFromJson.sql 2018-04-14 16:09:52 +02:00
Umachandar Jayachandran 721a6bd1a2 Update README.md
fixed missing whitespace in the echo command.
2018-04-13 10:57:35 -07:00
Umachandar Jayachandran d177ca97a5 Merge pull request #390 from ryanzebian/ryanzebian-patch-1
Fix Sparse Checkout README command
2018-04-13 10:56:25 -07:00
Jos de Bruijn 94e56cb753 clarify that you need to install from source code 2018-04-13 08:40:47 -07:00
Ryan Zebian 0a7207fa09 Fix Sparse Checkout README command 2018-04-10 23:20:54 -07:00
Jos de Bruijn c963e3bccf Merge pull request #389 from AyoOlubeko/patch-3
Patch 3
2018-04-09 09:46:13 -07:00
Ayo Olubeko c447b2931b Create readme.md 2018-04-08 19:29:50 -07:00
Ayo Olubeko 5de07659a1 Adding sql polybase load tutorial file 2018-04-08 19:25:44 -07:00
Jovan Popovic f67895ac75 Adding WWI WebSite views/procedures (#367)
* Added WWI Website views and procedures

Added new views and procedures for WWI WebSite:
1. Views that expose main entities
2. Create, Update, and Delete procedures for WWI tables.

* Added Website views/proc into sql project

* Refactored Web APi procedures and views

* Update DeleteStateProvince.sql

* Fixing style on views

Added quoted identifiers everywhere.

* Added quoted identifiers on WebApi views

* Removed refactor log from project

* Addressing UC's comment

changed INSERTED to inserted
SearchForStockItems uses correct view in webApi schema

* Removed unnesecary alias in SalesOrders view

* Fixed bugs in SpecialDeals and Customers

Added columns in customers view.
Changed parameter name in SpecialDeals procedure.

* Added quoted identifier_on in insert customer/supplier transactions and missing columns in purchase order lines view.

* Added row-level security

* Added wrapper views for some simple entities.

* Added missing fields in suppliers view/procedure

* Handled NULL columns and some missing columns in views.

* Removed useless quoted identifier on

* Changed quoted identifier on two update customer/supplier transactions stored procedures.
2018-04-06 14:40:55 +02:00
Jos de Bruijn 54eaca0cdc Merge pull request #385 from AyoOlubeko/patch-1
Updating documentation to include ctas for factexchangetable
2018-04-02 09:44:52 -07:00
Jos de Bruijn 62ea1d374e Update README.md 2018-04-02 09:11:34 -07:00
Ayo Olubeko d6ca3faee0 Updating documentation to include ctas for factexchangetable 2018-03-30 12:09:57 -07:00
Jos de Bruijn 35dbbfcae2 Merge pull request #383 from douglaslMS/sync-fix-script
Fixed line 208 of script per GitHub issue.
2018-03-28 15:00:31 -07:00
Douglas Laudenschlager 7ec8788a39 Fixed line 208 of script per GitHub issue. 2018-03-28 14:56:18 -07:00
Perry Skountrianos ce265feb56 Fixed column alias: Renamed to MaxGearPosition 2018-03-27 16:45:16 -07:00
Barbara Kess 0d090221fd Merge pull request #382 from maggiesMSFT/ssrs-migration-script
ssrs migration script rss file plus readme
2018-03-26 17:37:13 -07:00
maggiesMSFT adf341015f ssrs migration script rss file plus readme 2018-03-26 13:10:16 -07:00
Jos de Bruijn 108e094905 fix per issue #379 2018-03-20 07:57:41 -07:00
Barbara Kess 8f8660db28 Merge pull request #377 from barbkess/blk3
Blk3
2018-03-08 11:50:40 -07:00
Barbara Kess 8dc4113b62 rename 2017 infographic 2018-03-08 11:49:43 -07:00
Barbara Kess b7efa5444a fix readme link 2018-03-08 11:45:28 -07:00
Barbara Kess ce54c295a3 Merge pull request #376 from barbkess/blk3
New 2017 SQL Server and SQL DB permissions infographic.
2018-03-08 11:44:02 -07:00
Barbara Kess b398f432b6 New 2017 SQL Server and SQL DB permissions infographic. 2018-03-08 11:42:46 -07:00
Umachandar Jayachandran ffe1dec7f7 Merge pull request #370 from clayton006/master
Modified mssql_conf.py for SQL on Linux HA Ansible playbook
2018-02-22 21:44:58 -08:00
clayton006 98f8b00f13 Altered detection logic for the /var/opt/mssql/mssql.conf file as this file is now created by default in SQL Server 2017 CU4 on Linux. Before CU4 this file was created after "/opt/mssql/bin/mssql-conf setup" was executed. 2018-02-22 17:27:04 -05:00
Jovan Popovic (MSFT) c42e02daef Merge pull request #364 from JocaPC/master
Upgrades nodejs samples to v0.3 data access
2018-02-04 18:14:06 +01:00
Jovan Popovic 48e250190a Upgrades nodejs samples to v0.3 data access 2018-02-04 18:04:02 +01:00
Jovan Popovic (MSFT) 8d231e17bc Merge pull request #363 from JocaPC/master
Changed data access component in JSON/NodeJS products app
2018-02-03 19:50:35 +01:00
Jovan Popovic 302afeeb8c Changed data access to Express4 tedious v0.2 2018-02-03 19:41:45 +01:00
Sergio Govoni 96f947b085 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)
* Added some media for incoming demos on SQL Graph database

* Added the file README.md and the first demo of the session SQL Server 2017 Graph Database that I have done at SQL Saturday Parma 2017 #sqlsat675

* Fixed a bug in SQL text visualization

* Deleted some Unicode characters

* Update file README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md added the demo "Build a sample recommendation system using SQL Graph"

* Added the file sqlsat675 40 Recommendation system.sql that contains source code of the demo "Build a sample recommendation system using SQL Graph"

* Update README.md

* Added the file sqlsat675 30 Many-to-many relationships.sql

* Delete folder sql-saturday-675-parma-italy

* Add folder recommendation-system

* Rename files

* Update README.md

* Update README.md

* Update media file related to SQL Graph demos

* Used function JSON_VALUE instead of OPENJSON to extract the first language of a Person

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-01-29 14:44:32 -08:00
Jovan Popovic d9f2c7125f Upgraded to express4-tedious DAC
Changed data access layer in nodejs product catalog to express4 tedious.
2018-01-27 14:32:13 +01:00
Jovan Popovic 75fdf72de9 Updating query() to sql() in nodejs rest examples 2018-01-27 11:11:26 +01:00
Barbara Kess af5b694a66 Merge pull request #356 from douglaslMS/sync-fix-script
Fixed the Azure login command in the script.
2018-01-09 15:51:13 -07:00
Douglas Laudenschlager ee4cc35ce5 Fixed the Azure login command in the script. 2018-01-09 14:48:56 -08:00
Barbara Kess 717113ba72 Merge pull request #355 from douglaslMS/datasync-add-script
Added new PS script from PM to accompany new article.
2018-01-08 12:47:35 -07:00
Douglas Laudenschlager 3361659b6b Added new PS script from PM to accompany new article. 2018-01-08 11:02:21 -08:00
Jos de Bruijn 2aebc774fc Merge pull request #353 from Microsoft/wwi-update
adding pattern to generated sales data
2018-01-05 11:05:32 -08:00
Jos de Bruijn 6629ed9066 updating sqlproj with new file 2018-01-03 15:13:00 -08:00
Jos de Bruijn 0ee360c7f4 adding variation to sales order counts 2018-01-03 15:03:12 -08:00
Jos de Bruijn cc1d1a6b29 Merge pull request #352 from Microsoft/wwi-update
adding Power BI reports for wwi
2018-01-02 14:27:06 -08:00
Jos de Bruijn 0a64c9aa45 typo 2018-01-02 14:25:42 -08:00
Jos de Bruijn 4b5bf1141a updating structure 2018-01-02 14:24:23 -08:00
Jos de Bruijn 5dceddfca7 adding data for last day 2018-01-02 14:18:01 -08:00
Jos de Bruijn adc4fc2156 adding initial power BI dashboards 2018-01-02 13:57:14 -08:00