Skip to content

Obscure Problems and Gotchas

If you couldn't find your answer to your weird problem, you might find it here.

  • About
  • Application Errors Hall of Shame
  • DyslexicApps
Development, SQL Server

Biases in naming database objects

by: admin2020-08-01

Introduction Over my whole software engineering career, I have watched and learned the right way and the wrong way to style and format code. Especially […]

Development, SQL Server

Pivoting data without an aggregation column

by: admin2019-10-18

Don’t use PIVOT for non-aggregate-able data I ran into a rather displeasurable experience where a separate team of people built some very important tools for […]

Development, Gotcha, SQL Server

Padding a string in tSQL

by: admin2019-02-04

Gotcha There isn’t a Pad Left or Pad Right function in tSQL. Solution There is a lengthy discussion about this topic already on Stack Overflow […]

Development, SQL Server

Incorrect syntax was encountered while parsing :SETVAR

by: admin2018-11-29

Gotcha When working with SQL CMD mode every now and then I will get this vague error and I can’t figure out what the problem […]

SQL Server

Avoiding the Red Gate Sql compare “Non-Schema statement was ignored” warning

by: admin2018-10-18

Gotcha I recently had to create some non-schema related objects for a database project I am working on. It caused an annoying problem with Red […]

Gotcha, SQL Server

Sql Server REPLACE function makes expression string NULL when replacement string is NULL

by: admin2018-02-05

Obscure problem This has happened to me before, but naturally I forgot because it has been a while. The scenario is that you have dynamic […]

SQL Server

How to find the current profile required to send an email in SQL Server

by: admin2016-12-25

Problem You are trying to send an email using “msdb..sp_send_dbmail” but you keep getting one of the following errors: Msg 14636, Level 16, State 1, […]

SQL Server

SQL Server rows appear to not be deleting

by: admin2016-11-23

The Stupid Problem You are working on a database that you are not very familiar with as a developer – meaning that you are not […]

Uncategorized

Sql Server tSql: DELETE statement executes but won’t delete

by: admin2016-07-17

Problem I ran into the most puzzling issue recently where I was executing a DELETE statement inside of a transaction among other statements inside of a stored procedure. […]

Uncategorized

I have no words for how bad this is

by: admin2015-02-26

I think this should win the “Most Horrible Sproc Parameters” contest if there were such a thing. And then people wonder why I get mad […]

Posts navigation

Older posts

Search posts

Happy find? Help me buy the coffee that fuels these articles!

Buy Me a Coffee

Categories

Recent Comments

  • admin on Samsung refrigerator RF260BEAESR mullion flap repair
  • Mark on Samsung refrigerator RF260BEAESR mullion flap repair
  • admin on Microsoft lets random people share porn with you on OneDrive unsolicited
  • Chris on Microsoft lets random people share porn with you on OneDrive unsolicited
  • mask on CPAP tips and tricks for new users

Archives

Search posts

Search posts

SSL Secure

Copyright © All rights reserved. Theme Creativ Mag by Creativ Themes
Manage Consent

Legal GDPR BS

To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.

 

Straight honesty

Feel free to use an Ad Blocker (I use PiHole). This site uses Google Adsense and it's used only for getting viewer statistics and like a few pitiful pennies a year in ad revenue. It costs me more to run this site, I literally make no money on this site. This banner is here to be compliant with GDPR because GoogleSite Kit keeps bugging me about it. I write blog posts, everyone is free to read them for zero dollars. I just like to see how many people have read them and nothing more.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}