Garoon通知のVB.netサンプル

Imports System.NetImports System.IOImports System.Text Sub Main() Dim url As String = "https://sample.cybozu.com/g/api/v1/notification/items" ' Garoonの通知APIのURL Dim request As HttpWebRequest = CType(WebRequest.Create(url), HttpWebReque…

マルチバイト文字を含む文字列の部分取得#SQL

以下ファンクションの説明をしてCREATE FUNCTION dbo.MIDB (@str nvarchar(max), @start int, @length int)RETURNS nvarchar(max)ASBEGIN DECLARE @result nvarchar(max) SET @result = SUBSTRING(@str, @start, @length / (CASE WHEN @str LIKE N'%[^ -~。-゚…

mysqlテスト検証サンプル

以下は、Mysqlのプロシージャ呼び出しにて負荷テストを実行するPowerShellスクリプトです。条件を満たすように記述されており、可変となる設定はPowerShellコマンドライン引数として指定可能です。 ```powershell# SQLファイルのパスを指定$sqlFilePath = "C…