Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 630979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:54:52+00:00 2026-05-13T19:54:52+00:00

For the first time in years I’ve been doing some T-SQL programming in SQL

  • 0

For the first time in years I’ve been doing some T-SQL programming in SQL Server 2008 and had forgotten just how bad the language really is:

  • Flow control (all the begin/end stuff) feels clunky
  • Exception handling is poor. Exceptions dont bubble in the same way they do in every other language. There’s no re-throwing unless you code it yourself and the raiserror function isn’t even spelt correctly (this caused me some headaches!)
  • String handling is poor
  • The only sequence type is a table. I had to write a function to split a string based on a delimiter and had to store it in a table which had the string parts along with a value indicating there position in the sequence.
  • If you need to doa lookup in the stored proc then manipulating the results is painful. You either have to use cursors or hack together a while loop with a nested lookup if the results contain some sort of ordering column

I realize I could code up my stored procedures using C#, but this will require permissioning the server to allow CLR functions, which isn’t an option at my workplace.

Does anyone know if there are any alternatives to T-SQL within SQL Server, or if there are any plans to introduce something. Surely there’s got to be a more modern alternative…

PS: This isn’t intended to start a flame-war, I’m genuinely interested in what the options are.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:54:53+00:00Added an answer on May 13, 2026 at 7:54 pm

    There is nothing wrong with T-SQL; it does the job it was intended for (except perhaps for the addition of control flow structures, but I digress!).

    Perhaps take a look at LINQ? You can write CLR Stored Procedures, but I don’t recommended this unless it is for some feature that’s missing (or heavy string handling).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm digging into Java EE for the first time in years. I'm looking for
first time use JTree. Just wondering is it possible to have more than one
I've been developing websites for a few years now, and I've never had the
Although I have been programming for about 11 years(mostly VB6, last 6 months C#),
This is the first time I came across this thing, and I've been working
My very first post here! I have been using this site for many years
When I first got into databases I was using SQL Server. I got into
Somehow this is the first time I've ever encountered this problem in many years
I've been programming in C,C++,C# and a few other languages for many years, mainly
First time I tried learning Ruby was 2 years ago, now I have started

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.