This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IF OBJECT_ID('tempdb..#NumbersArray') IS NOT NULL | |
| DROP TABLE #NumbersArray | |
| GO | |
| --Create T-SQL version of number array look-like | |
| CREATE TABLE #NumbersArray | |
| ( | |
| ArrayIndex Int PRIMARY KEY CLUSTERED, | |
| Value Int | |
| ) | |
| GO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Data.SqlClient; | |
| using Microsoft.SqlServer.Server; | |
| using Weather.com.Client; | |
| using Weather.com.Client.WeatherConditions.Forecasts; | |
| using Weather.com.Client.WeatherConditions.Location; | |
| namespace Mulawa.SqlServer.CLRTriggers | |
| { |