mssql-node-docker-demo-app | Demonstration application using Microsoft SQL | SQL Database library
kandi X-RAY | mssql-node-docker-demo-app Summary
kandi X-RAY | mssql-node-docker-demo-app Summary
This is a demo application created to show how SQL Server can operate in a DevOps scenario where an application developer can check in code to GitHub and then trigger a build in Red Hat Open Shift to deploy the changes automatically as pods (containers). This demo was first shown at the Nordic Infrastructure Conference (NIC) 2017 in Oslo, Norway on Feb 3, 2017. This demo application is notable for showing a few things:. IMPORTANT: This project has been tested with SQL Server v.Next version CTP 1.4 (March 17, 2017 release).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mssql-node-docker-demo-app
mssql-node-docker-demo-app Key Features
mssql-node-docker-demo-app Examples and Code Snippets
Community Discussions
Trending Discussions on mssql-node-docker-demo-app
QUESTION
I have a SQL Server Dockerfile with my import-data.sh importing *.sql
files from a sql-data folder. Everything works if I run the *.sql
files from a tool like Datagrip but the import fails with this error message when it's ran automatically.
Error message:
Msg 1934, Level 16, State 1, Line 4
CREATE INDEX failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.
Dockerfile
...ANSWER
Answered 2018-Jul-05 at 22:56Tools like SQL Server Management Studio and Datagrip have Quoted Identifier turned on by default. You must manually enable it in SQLCMD by modifying your SQL Scripts to SET QUOTED_IDENTIFIER ON
You would modify your setup.sql script like this:
/sql-data/setup.sql
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mssql-node-docker-demo-app
For demo purposes, you can deploy an OpenShift environment into any major cloud provider using templates available in the marketplaces, you can use OpenShift Online, or you can deploy a Virtual Box-based OpenShift environment called minishift on your local development/demo machine. You will also need to get the oc commandline utility installed on your host/demo machine. Once you have OpenShift set up and you have the oc command line utility installed, you need to login to your OpenShift environment as a cluster administrator, create a new project, and set the permissions to allow any user identity to run as root (required by the mssql user that runs the sqlservr.sh script in a container for now). Now that you have OpenShift set up, you are ready to do an initial test run of deploying into OpenShift.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page