Toni (@Iceblack2k) profile picture
Joined July 2011
Photo by Toni (@Iceblack2k)Photo by Toni (@Iceblack2k)Photo by Toni (@Iceblack2k)Photo by Toni (@Iceblack2k)Photo by Toni (@Iceblack2k)Photo by Toni (@Iceblack2k)Photo by Toni (@Iceblack2k)Photo by Toni (@Iceblack2k)Photo by Toni (@Iceblack2k)Photo by Toni (@Iceblack2k)
¡Estoy demasiado feliz! Mi curso de comunicación para profesionales independientes está totalmente renovado: cada lección con su cuadernillo de trabajo y prompts para que avances rápido con tu IA favorita. academia.kitdecomunicacion.c… ¡Primer módulo gratis!
1
2
28
🚀 ¡El 27 de marzo estaremos en @GofiGeeks (Gran Canaria) con dos sesiones sobre Front End! Una sobre Astro y otra sobre TanStack Start🎙️✨ 📍 Gofi Geeks, Gran Canaria 🔗 Más info: meetup.com/gofigeeks/events/… Gracias a @GofiGeeks y al @GranCanariaCab por hacerlo posible 💙
8
1
13
1,283
Looking for Speakers for the 2025 calendar year for the Hampton Roads SQL Server User Group 3rd wed of every month IN PERSON If you would like to visit Virginia Beach to speak let me know We usually book up really quickly as of now I only have 7 spots left meetup.com/hampton-roads-sql…
2
1
362
To explain this a bit more to those who have asked: The documentation for CAST & CONVERT says: Starting with SQL Server 2012 (11.x), when using supplementary character (SC) collations, a CAST operation from nchar or nvarchar to an nchar or nvarchar type of smaller length won't truncate inside a surrogate pair. Instead, the operation truncates before the supplementary character. Under an SC collation, each character has a variable byte length. For example, N'X' takes 2 bytes, while N'😎' uses 4 bytes. The string N'X😎' (both characters together) requires 2 + 4 = 6 bytes of storage, corresponding to nvarchar(3). The number in brackets is the number of byte-pairs, not the number of characters. Three byte-pairs = 2 * 3 = 6 bytes. Yes, it's confusing but that's how it is. -- Returns 6 (bytes) and 2 (characters) DECLARE @y nvarchar(3) = N'X😎'; SELECT DATALENGTH(@y), LEN(@y); If we convert the string to a smaller type, truncation occurs: -- Returns "X", 2 (bytes), and 1 (character) DECLARE @y nvarchar(3) = N'X😎'; SELECT CONVERT(nvarchar(2), @y), DATALENGTH(CONVERT(nvarchar(2), @y)), LEN(CONVERT(nvarchar(2), @y)); This is the correct behaviour. Truncation stores as many whole characters from the string as will fit in the destination type. nvarchar(2) offers 2 * 2 = 4 bytes, which is only enough to store the first character, N'X'. There is not enough space left to store the 4 bytes of N'😎'. The bug occurs when the source is a LOB type, the destination is nvarchar (or nchar), truncation is needed, and the truncation point occurs within a (variable length) character. Using the same example with a LOB source: -- Returns "X�", 4 (bytes), and 2 (characters) DECLARE @y nvarchar(max) = N'X😎'; SELECT CONVERT(nvarchar(2), @y), DATALENGTH(CONVERT(nvarchar(2), @y)), LEN(CONVERT(nvarchar(2), @y)); The funny-looking second character is the first 2 bytes of N'😎' (which requires 4 bytes). Conversion has split this character in half! This is the bug.
2
8
15
1,403
Oye ¿Y si desarrollamos una herramienta open source online para crear mocks UI de baja fidelidad (wireframes)? Alumnos... "¡ a por ello!" :), nos lo estamos pasando en grande: github.com/Lemoncode/quickmo… esperamos tener primera alfa en los próximos meses 🚀, muy agradecidos si RT
2
24
1
34
1,511
Como crear una canción de regueton? Aquí una master class!!
244
4,637
375
15,805
763,666
¡Regístrate gratis, colabora con tu donación y disfruta! #OpenSouthCode24 Con el patrocinio de @CervezaVictoria 🤗 mailchi.mp/3881904768e8/dona…
9
7
436
#OpenSouthCode24 Ya puedes consultar el programa. Estas son las charlas de la Sala Fuengirola del 21 de junio ¡Inscríbete gratis! 👉 opensouthcode.org/conference…
20
22
1,001
So, you want to see changes in SSMS? And you're a developer? Now's your chance! The engineering team I work with (and love) is hiring for a Senior Software Engineer 🖥 Job posting here: jobs.careers.microsoft.com/g… 1/x
3
14
27
2,382
7 Aplicaciones para aprender a programar! youtu.be/T4s_7pPlIe8?si=XyNC…
1
8
426
same DB in 2 subscriptions in azure with the following tier Service tier: General Purpose Compute tier: Provisioned Azure Hybrid Benefit: Applied vCores10: vCores Max storage: 750 GB The cost are double in one subscription than in another any clue where to look for Ta #sqlhelp
6
62
Toda la vida llevando pantalones pitillos elásticos y viene a atacarme el Hombre Elástico #CalicoElectronico #Cómic #humor Puedes comprar los cómics de #CálicoElectrónico "Las tiras de Cálico" ( 0xword.com/es/comics/151-las… ) y "Las tiras de Cálico 2" ( 0xword.com/es/comics/214-las… )
1
14
2
80
16,783
Acertijo.
1,719
100
46
836
127,595
Nuevo curso en el Blog/Canal, como siempre todo primero en el blog, va a tratár sobre las librerías más populares de este nuestro lenguaje mas querido dentro de #dotnet netmentor.es/curso/librerias…
5
16
590
📬 A Little About Windowing Functions And Joins In SQL Server: ift.tt/gGSFlxN 📬
4
11
832
🧑‍💻Azure Data Studio 1.45 is now available! Blog post coming soon😅 For now, please peruse the release notes while you update ADS, and then let me know what new item you're most excited about! learn.microsoft.com/en-us/sq…
4
12
1
34
3,010
A small curiosity. Starting with SQL Server 2017, the IGNORE_DUP_KEY unique index option has an optional extra clause to avoiding printing the "Duplicate key was ignored." message. Example: CREATE TABLE dbo.IgnoreDupesNoMessages ( i integer NOT NULL PRIMARY KEY CLUSTERED WITH ( IGNORE_DUP_KEY = ON (SUPPRESS_MESSAGES = ON) ) ); Using the message suppression option also means duplicates are detected and ignored by the query processor rather than the storage engine, which is often more efficient. That's always the case for nonclustered unique indexes, but with the message suppression option it applies to clustered indexes too. It's sort of interesting Microsoft invested in this addition to a relatively uncommon feature. They didn't spend much money on documenting it though. There is a reference on the sys.indexes doc page, but it talks only about suppressing the message for index rebuilds. Maybe there's more elsewhere, but I didn't find it. Anyway. A small curiosity. sqlperformance.com/2019/04/s…
5
2
26
2,321
How does Pod to Pod communication work in Kubernetes? How does the traffic reach the pod? In this article, you will dive into how low-level networking works in Kubernetes ➜ dev.to/danielepolencic/traci…
2
65
282
34,119
i've been doing a bunch of work on a stored procedure to parse performance data out of the system health extended event session. there's a beta version available here for testing. open to all feedback: github.com/erikdarlingdata/D…
3
7
25
1,637