Last active
          September 8, 2022 12:47 
        
      - 
      
- 
        Save ktaranov/b4466f14a13a393967eaaf85e6b15209 to your computer and use it in GitHub Desktop. 
Revisions
- 
        ktaranov revised this gist Nov 14, 2019 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -23,4 +23,7 @@ SELECT @nvcmaxVariable; ## Markwon Examples [`TRY_CONVERT`](https://docs.microsoft.com/en-us/sql/t-sql/functions/try-convert-transact-sql) [`TRY_CONVERT`] [`TRY_CONVERT`]:https://docs.microsoft.com/en-us/sql/t-sql/functions/try-convert-transact-sql 
- 
        ktaranov revised this gist Nov 14, 2019 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -19,4 +19,8 @@ GO DECLARE @nvcmaxVariable nvarchar(max); SET @nvcmaxVariable = CONVERT(nvarchar(max), N'ಠ russian anomaly ЯЁЪ ಠ ') + N'something else' + N'another'; SELECT @nvcmaxVariable; ``` ## Markwon Examples [`TRY_CONVERT`](https://docs.microsoft.com/en-us/sql/t-sql/functions/try-convert-transact-sql) 
- 
        ktaranov revised this gist Oct 25, 2019 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -13,6 +13,9 @@ SELECT @nvcmaxVariable; ## SQL Example ```sql USE master; GO DECLARE @nvcmaxVariable nvarchar(max); SET @nvcmaxVariable = CONVERT(nvarchar(max), N'ಠ russian anomaly ЯЁЪ ಠ ') + N'something else' + N'another'; SELECT @nvcmaxVariable; 
- 
        ktaranov revised this gist Oct 25, 2019 . 1 changed file with 19 additions and 0 deletions.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ ## TSQL Example ```tsql USE master; GO DECLARE @nvcmaxVariable nvarchar(max); SET @nvcmaxVariable = CONVERT(nvarchar(max), N'ಠ russian anomaly ЯЁЪ ಠ ') + N'something else' + N'another'; SELECT @nvcmaxVariable; ``` ## SQL Example ```sql DECLARE @nvcmaxVariable nvarchar(max); SET @nvcmaxVariable = CONVERT(nvarchar(max), N'ಠ russian anomaly ЯЁЪ ಠ ') + N'something else' + N'another'; SELECT @nvcmaxVariable; ``` 
- 
        ktaranov created this gist Oct 25, 2019 .There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ USE master; GO DECLARE @nvcmaxVariable nvarchar(max); SET @nvcmaxVariable = CONVERT(nvarchar(max), N'russian anomaly ЯЁЪ') + N'something else' + N'another';