Skip to content

Instantly share code, notes, and snippets.

@amr-swalha
amr-swalha / JsonConfigSP.sql
Created February 24, 2018 12:45
JSON.Config Stored P
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[JsonConfig_Read_Key]
@key nvarchar(max)
AS
DECLARE @json NVARCHAR(max)
SET @json =
(SELECT [JsonConfig].[Configuration] from JsonConfig
@amr-swalha
amr-swalha / JsonConfigTable.sql
Created February 24, 2018 12:44
The script to create the json.config table
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[JsonConfig](
[Id] [int] NOT NULL,
[Configuration] [nvarchar](max) NULL,
PRIMARY KEY CLUSTERED
@amr-swalha
amr-swalha / Hello.vue
Created July 17, 2017 10:14
v-bind Example
<template>
<div class="hello">
<h1>{{ msg }}</h1>
<h2 v-bind:title="tooltip">{{ employee }}</h2>
</div>
</template>
<script>
export default {
name: 'hello',