Skip to main content
12 events
when toggle format what by license comment
Jun 15, 2022 at 5:23 history bounty awarded Martin
Aug 19, 2021 at 20:06 history edited GlorfindelMod CC BY-SA 4.0
added 2050 characters in body
Jan 25, 2021 at 7:25 vote accept GlorfindelMod
Jan 25, 2021 at 7:25 comment added Glorfindel Mod Nice! Perhaps it's worth making a Code Golf challenge out of it :)
Jan 24, 2021 at 19:53 comment added rene Mod I've been fiddling a bit to see if I could get that table without using temp tables: data.stackexchange.com/stackoverflow/query/1362177/…
Jan 24, 2021 at 14:13 history edited GlorfindelMod CC BY-SA 4.0
added 129 characters in body
Jan 20, 2021 at 10:35 comment added Glorfindel Mod ... and it relies on STRING_SPLIT returning its values in the right order, which isn't guaranteed. Let's see what happens with the current version. I like keeping things (reasonably) simple.
Jan 20, 2021 at 10:20 comment added rene Mod While I don't think it will cause issues in our use case it is worth mentioning that A transaction inserting multiple rows is not guaranteed to get consecutive values for the rows because other concurrent inserts might occur on the table. If values must be consecutive then the transaction should use an exclusive lock on the table. The query does require that the identity values are consecutive.
Jan 20, 2021 at 10:17 comment added rene Mod You are inviting users to commit serial upvoting ... ;)
Jan 20, 2021 at 8:46 history edited GlorfindelMod CC BY-SA 4.0
deleted 3 characters in body
Jan 20, 2021 at 8:32 history edited GlorfindelMod CC BY-SA 4.0
added 81 characters in body
Jan 20, 2021 at 8:21 history answered GlorfindelMod CC BY-SA 4.0