SQL# User Manual

SQL# User Manual

SQL # Expanding the capabilities of T-SQL Version 4.2.100 / 4.2.101 November 13th, 2018 (doc. rev. 20181113) Copyright © 2006 - 2018 Sql Quantum Lift, LLC. All rights reserved. SQLsharp.com i Table of Contents TABLE OF CONTENTS I GENERAL INFORMATION 1 Copyrights 1 Introduction 4 Requirements 4 Contact Information 4 INSTALLATION AND UPDATING 5 Installation / Setup 5 Updating 5 Internally (not available in Free version) 5 Externally 6 FUNCTION, STORED PROCEDURE, TYPE REFERENCE 7 Regular Expressions (RegEx) 7 RegEx Options 9 RegEx_CaptureGroup 10 RegEx_CaptureGroup4k 11 RegEx_CaptureGroupCapture 11 RegEx_CaptureGroupCapture4k 11 RegEx_CaptureGroupCaptures (Not available in Free version) 11 RegEx_CaptureGroupCaptures4k (Not available in Free version) 13 RegEx_CaptureGroups (Not available in Free version) 13 RegEx_CaptureGroups4k (Not available in Free version) 13 RegEx_Escape 14 RegEx_Escape4k 14 RegEx_GetCacheSize 14 RegEx_Index 15 RegEx_Index4k 15 RegEx_IsMatch 15 RegEx_IsMatch4k 16 RegEx_Match 16 RegEx_Matches 16 RegEx_MatchLength 17 RegEx_MatchLength4k 17 RegEx_MatchSimple 18 RegEx_MatchSimple4k 18 RegEx_Replace 18 RegEx_Replace4k 19 RegEx_ReplaceIfMatched 19 RegEx_ReplaceIfMatched4k 20 RegEx_SetCacheSize (Not available in Free version) 20 SQL# Version 4.2.100 / 4.2.101 (doc. rev. 20181113) Copyright © 2006 – 2018 Sql Quantum Lift, LLC ii RegEx_Split 20 RegEx_Unescape 21 Strings 22 String_CompareSplitValues (Not available in Free version) 23 String_Contains 23 String_Count 24 String_Cut 24 String_DamerauLevenshteinDistance (Not available in Free version) 25 String_DamerauLevenshteinDistancePlus (Not available in Free version) 25 String_EndsWith 26 String_Equals 27 String_FixedWidthIndex (Not available in Free version) 27 String_FixedWidthSplit (Not available in Free version) 28 String_IndexOf 28 String_InitCap 29 String_IsNumeric 29 String_Join 31 String_LastIndexOf 31 String_LevenshteinDistance (Not available in Free version) 32 String_LevenshteinDistancePlus (Not available in Free version) 32 String_Newline 33 String_NthIndexOf 34 String_PadBoth (Not available in Free version) 34 String_PadBoth4k (Not available in Free version) 35 String_PadLeft 35 String_PadRight 35 String_RemoveDiacritics (Not available in Free version) 36 String_RemoveDiacritics4k (Not available in Free version) 36 String_Replace 36 String_Split 37 String_Split4k 38 String_SplitIntoGuids (Not available in Free version) 38 String_SplitIntoIntegers (Not available in Free version) 38 String_SplitInts 39 String_SplitResultIntoFields (Not available in Free version) 39 String_SplitKeyValuePairs (Not available in Free version) 40 String_StartsWith 41 String_Trim 42 String_Trim4k 42 String_TrimChars (Not available in Free version) 42 String_TrimChars4k (Not available in Free version) 43 String_TrimEnd (Not available in Free version) 43 String_TrimEnd4k (Not available in Free version) 43 String_TrimStart (Not available in Free version) 43 String_TrimStart4k (Not available in Free version) 43 String_TryParseToInt 44 String_Unescape 44 String_Unescape4k 45 String_WordWrap 45 Math 47 Math_BitwiseLeftShift 47 Math_BitwiseRightShift 47 Math_CompoundAmortizationSchedule 47 Math_CompoundAmortizationSchedule2 49 SQL# Version 4.2.100 / 4.2.101 (doc. rev. 20181113) Copyright © 2006 – 2018 Sql Quantum Lift, LLC iii Math_Constant 49 Math_Convert 50 Math_Cosh 51 Math_CubeRoot 51 Math_Factorial 52 Math_FormatDecimal 52 Math_FormatFloat (Not available in Free version) 52 Math_FormatInteger (Not available in Free version) 53 Math_IEEERemainder (Not available in Free version) 53 Math_IsPrime 54 Math_NthRoot (Not available in Free version) 54 Math_RandomRange 54 Math_RoundToEvenDecimal 56 Math_RoundToEvenFloat 56 Math_Sinh 57 Math_Tanh 57 Math_Truncate 57 Network 58 INET_AddressToNumber 58 INET_DownloadFile (Not available in Free version) 59 INET_FTPDo (Not available in Free version) 59 INET_FTPGet (Not available in Free version) 60 INET_FTPGetBinary (Not available in Free version) 60 INET_FTPGetFile (Not available in Free version) 61 INET_FTPPut (Not available in Free version) 61 INET_FTPPutBinary (Not available in Free version) 62 INET_FTPPutFile (Not available in Free version) 63 INET_GetConnectionLimitForURI (Not available in Free version) 63 INET_GetCurrentConnectionCountForURI (Not available in Free version) 63 INET_GetHostName (Not available in Free version) 64 INET_GetIPAddress (Not available in Free version) 64 INET_GetIPAddressList (Not available in Free version) 64 INET_GetWebPages (Not available in Free version) 65 INET_HTMLDecode 67 INET_HTMLEncode 67 INET_IsValidIPAddress 68 INET_NumberToAddress 68 INET_Ping (Not available in Free version) 69 INET_PingTime (Not available in Free version) 69 INET_SetConnectionLimitForURI (Not available in Free version) 70 INET_SplitIntoFields (Not available in Free version) 70 INET_URIDecode 72 INET_URIDecodePlus (Not available in Free version) 72 INET_URIEncode 73 INET_URIEncodeData 73 INET_URIGetInfo 73 INET_URIGetLeftPart 74 Miscellaneous 75 Util_CRC32 75 Util_Deflate 75 Util_GarbageCollect (Not available in Free version) 75 Util_GenerateDateTimeRange 76 Util_GenerateDateTimes 76 Util_GenerateFloatRange 76 SQL# Version 4.2.100 / 4.2.101 (doc. rev. 20181113) Copyright © 2006 – 2018 Sql Quantum Lift, LLC iv Util_GenerateFloats 77 Util_GenerateIntRange 77 Util_GenerateInts 78 Util_GetBase2Bits (Not available in Free version) 78 Util_GetCreditCardInfo (Not available in Free version) 79 Util_GetCreditCardType (Not available in Free version) 79 Util_GetTotalMemory 79 Util_GUnzip 80 Util_GZip 80 Util_Hash 80 Util_HashBinary 81 Util_Inflate 81 Util_IsValidCC 81 Util_IsValidCCNumber 82 Util_IsValidCheckRoutingNumber 82 Util_IsValidConvert 83 Util_IsValidPostalCode 83 Util_IsValidSSN 84 Util_Paginate (Not available in Free version) 84 Util_Print (Not available in Free version) 87 Util_ToWords 88 Util_UnBitMask (Not available in Free version) 89 Date 91 Date_Age 91 Date_BusinessDays 91 Date_BusinessDaysAdd (not available in Free version) 93 Date_DaysInMonth 94 Date_DaysInMonthFromDateTime 94 Date_DaysLeftInMonth (Not available in Free version) 94 Date_DaysLeftInYear 95 Date_Extract 95 Date_Format 96 Date_FormatTimeSpan 97 Date_FirstDayOfMonth 98 Date_FromUNIXTime 99 Date_FullDateString 99 Date_FullDateTimeString (not available in Free version) 99 Date_FullTimeString 100 Date_GetDateTimeFromIntVals 100 Date_GetIntDate 101 Date_GetIntTime 101 Date_IsBusinessDay 101 Date_IsDaylightSavingTime 101 Date_IsLeapYear 102 Date_LastDayOfMonth 102 Date_NewDateTime 103 Date_NthOccurrenceOfWeekday 103 Date_ToLocalTime (Not available in Free version) 103 Date_ToUniversalTime (Not available in Free version) 104 Date_ToUNIXTime 104 Date_Truncate 104 Internal 106 SQLsharp_Download (Not available in Free version) 106 SQLsharp_GrantPermissions 106 SQL# Version 4.2.100 / 4.2.101 (doc. rev. 20181113) Copyright © 2006 – 2018 Sql Quantum Lift, LLC v SQLsharp_Help 106 SQLsharp_InstanceSetup 106 SQLsharp_InstanceUninstall 107 SQLsharp_IsUpdateAvailable 107 SQLsharp_SetSecurity 107 SQLsharp_Setup 108 SQLsharp_Uninstall 108 SQLsharp_UnloadAppDomain 108 SQLsharp_Version 109 SQLsharp_WebSite 109 File (Not available in Free version) 110 File_ChangeEncoding 111 File_CheckLongPathSupportRequirements 111 File_Copy 111 File_CopyMultiple 112 File_CreateDirectory 113 File_CreateTempFile 113 File_CurrentEncoding 113 File_Decrypt 114 File_Delete 114 File_DeleteDirectory 114 File_DeleteMultiple 115 File_Encrypt 116 File_FileExists 116 File_GetCRC32 116 File_GetDirectoryListing 117 File_GetDirectoryName 117 File_GetDriveInfo 118 File_GetFile 118 File_GetFileBinary 119 File_GetFileInfo 119 File_GetFileName 119 File_GetFullPath 120 File_GetHashBinary 120 File_GetLineCount 121 File_GetRandomFileName 121 File_GetRootDirectory 121 File_GetTempPath 122 File_GUnzip 122 File_GZip 122 File_Move 123 File_MoveDirectory 123 File_MoveMultiple 124 File_PathExists 125 File_SplitIntoFields 125 File_Touch 126 File_WriteFile 127 File_WriteFileBinary 128 Database 130 DB_BulkCopy 130 DB_BulkExport (Not available in Free version) 132 DB_CreateOrAlterQueryInfoTables (Not available in Free version) 136 DB_CurrentSQLStatement (Not available in Free version) 138 DB_DescribeResultSets (Not available in Free version) 138 SQL# Version 4.2.100 / 4.2.101 (doc. rev. 20181113) Copyright © 2006 – 2018 Sql Quantum Lift, LLC vi DB_DeserializeResults (Not available in Free version) 139 DB_DumpData (Not available in Free version) 141 DB_ForEach (Not available in Free version) 145 DB_GetQueryInfo (Not available in Free version) 146 DB_HTMLExport (Not available in Free version) 149 DB_NewID (Not available in Free version) 153 DB_SerializeResults (Not available in Free version) 154 DB_SerializeResultsInChunks (Not available in Free version) 154 DB_ThrowException (Not available in Free version) 156 DB_TryCatch (Not available in Free version) 157 DB_WaitForDelay 161 Convert 163 Convert_Base2ToBase10 163 Convert_Base10ToBase2 163 Convert_BinarySidToSddl 164 Convert_BinaryToHexString 164 Convert_DateTimeToMSIntDate 165 Convert_FromBase64 165 Convert_HexStringToBinary 165 Convert_HtmlToXml 165 Convert_MSIntDateToDateTime 166 Convert_ROT13 166 Convert_SddlSidToBinary 167 Convert_ToBase64 167 Convert_UUDecode 167 Convert_UUEncode 168 DB System Info (Not available in Free version) 169 Sys_AllAssemblies 169 Sys_AssemblyName 169 Sys_IndexName 170 Sys_LockResource 170 Sys_Objects 171 XML (Not available in Free version) 172 XML_EscapeContent 172 XML_SaveToFile 172 XML_Transform 172 XML_UnescapeContent 174 LookUp 174 LookUp_GetCountryInfo

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    257 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us