The Lair of Leaky Abstractions

Debugging Developers

Skip to content
  • Home
  • Blog
  • About
  • Contact
  • The Rules
  • Recommended Reading
Search

Rule 14

Rule 14 in the wild

April 30, 2020 / Robert Harris / Leave a comment

“What if we just used NVARCHAR(4000) as the default datatype parameter for any query, regardless of what datatype the table has in it – like numbers or dates?”

Brent Ozar with an interesting example on why (almost) everything could be nvarchar.

Blog at WordPress.com.
  • Subscribe Subscribed
    • The Lair of Leaky Abstractions
    • Already have a WordPress.com account? Log in now.
    • The Lair of Leaky Abstractions
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar