Filter data based on workflow get sequence desc order .1.eadch workflow has different sequence level
Tuesday, 28 May 2024
Monday, 27 May 2024
Tuesday, 21 May 2024
varchar vs nvarchar
Use GetByteCount for the appropriate encoder-- in this case, ASCII for VarChar and Unicode for NVarChar).
var s = "This is a string";
var len1 = s.Length;
var len2 = System.Text.Encoding.Unicode.GetByteCount(s);
var len3 = System.Text.Encoding.ASCII.GetByteCount(s);
Console.WriteLine("'{0}' has {1} characters and is {2} bytes with Unicode encoding and {3} bytes with ASCII encoding.", s, len1, len2, len3);
Output:
'This is a string' has 16 characters and is 32 bytes with Unicode encoding and 16 bytes with ASCII encoding.
Subscribe to:
Posts (Atom)
7 Common mistakes in Dot Net — You can avoid
There are many common mistakes made during .NET (ASP.NET, .NET Core) development, which affect performance, security, and code… Code Crack...

-
Points 1.complex page layouts and adherence to code standards. 2.primeNG pagination 3.ngcontent 4.ngdestory(memorylekage) 5.datatransfer wi...
-
Check duplicate count based on 3 columns combo select EMPID,FORMinfoID,FormName,Count(*) as counts from tbl_FilesMigrationLogs group by Em...