minus-squareblackn1ght@feddit.uktoTechnology@lemmy.world•Life isn't easy if your last name is 'Null' as it still breaks database entries the world overlinkfedilinkEnglisharrow-up1·edit-24 days agoIt’s baffling to me. Maybe I’m just used to using “modern” frameworks, but the only way this could be an issue is if you literally check if the string value equals “null” and then replace it with a null value. lastName = lastName.ToUpper() == "NULL" ? null : lastName; Either that or the database has some bug where it’s converting a string value of “null” into a null. linkfedilink
blackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 5 days agoArts in the city that doesn't express itself creatively like a cityplus-squarelancashire.thelead.ukexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkArts in the city that doesn't express itself creatively like a cityplus-squarelancashire.thelead.ukblackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 5 days agomessage-square0fedilink
blackn1ght@feddit.uk to UK Politics@feddit.uk · 9 days agoInvestment in UK’s crumbling public services is pro-growth, says pensions ministerplus-squarewww.theguardian.comexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkInvestment in UK’s crumbling public services is pro-growth, says pensions ministerplus-squarewww.theguardian.comblackn1ght@feddit.uk to UK Politics@feddit.uk · 9 days agomessage-square0fedilink
blackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 9 days agoLancashire County Council ‘no choice’ but to raise council tax by maximum amount – Blog Prestonplus-squarewww.blogpreston.co.ukexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkLancashire County Council ‘no choice’ but to raise council tax by maximum amount – Blog Prestonplus-squarewww.blogpreston.co.ukblackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 9 days agomessage-square0fedilink
blackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 13 days agoMichelin star hotspot outside of London 'not many people know about'plus-squarewww.bbc.co.ukexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkMichelin star hotspot outside of London 'not many people know about'plus-squarewww.bbc.co.ukblackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 13 days agomessage-square0fedilink
blackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 15 days agoOswaldtwistle road affected by landslip to be closed for a yearplus-squarewww.bbc.co.ukexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkOswaldtwistle road affected by landslip to be closed for a yearplus-squarewww.bbc.co.ukblackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 15 days agomessage-square0fedilink
blackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 19 days agoIn pictures: Preston Bus Station as it ranks as one of world’s Brutalist favouritesplus-squarewww.blogpreston.co.ukexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkIn pictures: Preston Bus Station as it ranks as one of world’s Brutalist favouritesplus-squarewww.blogpreston.co.ukblackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 19 days agomessage-square0fedilink
blackn1ght@feddit.ukM to Dads@feddit.ukEnglish · 21 days agoDad's, how are you getting on?plus-squaremessage-squaremessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1message-squareDad's, how are you getting on?plus-squareblackn1ght@feddit.ukM to Dads@feddit.ukEnglish · 21 days agomessage-square0fedilink
blackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 22 days agoBuses in Preston ‘should be taken into public control for Greater Manchester-like system’plus-squarewww.blogpreston.co.ukexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkBuses in Preston ‘should be taken into public control for Greater Manchester-like system’plus-squarewww.blogpreston.co.ukblackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 22 days agomessage-square0fedilink
minus-squareblackn1ght@feddit.uktoGreentext@sh.itjust.works•Americans are weird.linkfedilinkarrow-up0·25 days agoWhat makes them think they’re American? I don’t see any guns or medical bills piled up? linkfedilink
blackn1ght@feddit.uk to Nominative Determinism@feddit.ukEnglish · 1 month agoAndy Salmon - CEO of Swim Englandplus-squarefeddit.ukimagemessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageAndy Salmon - CEO of Swim Englandplus-squarefeddit.ukblackn1ght@feddit.uk to Nominative Determinism@feddit.ukEnglish · 1 month agomessage-square0fedilink
blackn1ght@feddit.ukM to Casual UK@feddit.ukEnglish · 1 month agoStorm Eowyn causing utter devastation on our streetfeddit.ukimagemessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageStorm Eowyn causing utter devastation on our streetfeddit.ukblackn1ght@feddit.ukM to Casual UK@feddit.ukEnglish · 1 month agomessage-square0fedilink
blackn1ght@feddit.ukM to Casual UK@feddit.ukEnglish · 1 month ago[Meta] New mods, slight rule change!plus-squarepinmessage-squaremessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1message-square[Meta] New mods, slight rule change!plus-squarepinblackn1ght@feddit.ukM to Casual UK@feddit.ukEnglish · 1 month agomessage-square0fedilink
blackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 1 month agoLeyland: Thieves strip special needs school minibuses for partsplus-squarewww.bbc.co.ukexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkLeyland: Thieves strip special needs school minibuses for partsplus-squarewww.bbc.co.ukblackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 1 month agomessage-square0fedilink
blackn1ght@feddit.ukM to Casual UK@feddit.ukEnglish · 1 month agoThis is how Americans idenfity Robbie Williamsfeddit.ukimagemessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageThis is how Americans idenfity Robbie Williamsfeddit.ukblackn1ght@feddit.ukM to Casual UK@feddit.ukEnglish · 1 month agomessage-square0fedilink
blackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 1 month agoMajor public engagement exercise over relocation of Royal Preston Hospitalplus-squarewww.blogpreston.co.ukexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkMajor public engagement exercise over relocation of Royal Preston Hospitalplus-squarewww.blogpreston.co.ukblackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 1 month agomessage-square0fedilink
blackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 1 month agoHeysham: Cloud at Lancashire nuclear site 'no cause for concern' - BBC Newsplus-squarewww.bbc.co.ukexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkHeysham: Cloud at Lancashire nuclear site 'no cause for concern' - BBC Newsplus-squarewww.bbc.co.ukblackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 1 month agomessage-square0fedilink
blackn1ght@feddit.uk to .NET@programming.dev · 1 month agoFluentAssertions v8 has started to charge $130 per user for commercial useplus-squaregithub.comexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkFluentAssertions v8 has started to charge $130 per user for commercial useplus-squaregithub.comblackn1ght@feddit.uk to .NET@programming.dev · 1 month agomessage-square0fedilink
blackn1ght@feddit.uk to UK Rail and Trains@feddit.ukEnglish · 2 months agoOnboard a class 397 from Carlisle to Glasgowplus-squareyoutu.beexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkOnboard a class 397 from Carlisle to Glasgowplus-squareyoutu.beblackn1ght@feddit.uk to UK Rail and Trains@feddit.ukEnglish · 2 months agomessage-square0fedilink
blackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 2 months agoPreston: Work to start on city's ninth bus zone on New Hall Lane - BBC Newsplus-squarewww.bbc.co.ukexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkPreston: Work to start on city's ninth bus zone on New Hall Lane - BBC Newsplus-squarewww.bbc.co.ukblackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 2 months agomessage-square0fedilink
blackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 2 months agoThree flood warnings issued on River Ribble at Preston – Blog Prestonplus-squarewww.blogpreston.co.ukexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkThree flood warnings issued on River Ribble at Preston – Blog Prestonplus-squarewww.blogpreston.co.ukblackn1ght@feddit.uk to Lancashire - the correct side of the Pennines@feddit.uk · 2 months agomessage-square0fedilink
blackn1ght@feddit.ukM to Casual UK@feddit.ukEnglish · 2 months agoWhat's your favourite selection box?plus-squarefeddit.ukimagemessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageWhat's your favourite selection box?plus-squarefeddit.ukblackn1ght@feddit.ukM to Casual UK@feddit.ukEnglish · 2 months agomessage-square0fedilink
It’s baffling to me. Maybe I’m just used to using “modern” frameworks, but the only way this could be an issue is if you literally check if the string value equals “null” and then replace it with a null value.
lastName = lastName.ToUpper() == "NULL" ? null : lastName;
Either that or the database has some bug where it’s converting a string value of “null” into a
null
.