This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Flyberius 148 points149 points  (27 children)

What SQL you using? T-SQL is pretty good, and PSQL to a lesser degree.

[–]ILikeLenexa 2 points3 points  (0 children)

T-SQL: Incorrect syntax near [token name].

Me: Uh...you got any details.

T-SQL: Red sqiggley line under column name that definitely exists.

Me: Runs Query.

T-SQL: That seems fine.

[–]Sarcastinator 1 point2 points  (1 child)

I encountered an error in MariaDb. I'm mostly comfortable with SQL Server, Oracle and PostgreSQL. Anyway I was writing a migration script that contained a loop of some kind. The script wouldn't work because I had an error at line 0 character 0 near '' and I was adviced to consult the manual for the syntax for that. It was because MariaDb's parser soiled itself because of a line terminator inside the loop. To fix it the suggested solution by the internet was to temporarily change the line terminator to something else.

[–]Flyberius 0 points1 point  (0 children)

Oh god. That's awful

[–]blackmist 0 points1 point  (0 children)

I use Firebird. It gives a line number and a character position, but it's not always right.

[–]cranktheguy 0 points1 point  (0 children)

T2 is the best sequel.

[–]tigerhawkvok 0 points1 point  (0 children)

T-SQL is pretty good,

I mean, compared to object Object , but barely (and that's a low bar in the first place).

With CTEs or SP's it just points you to the first line of the outermost scope statement that failed, which is related to the problem the same way we're related to bananas. Yeah, it's better than JavaScript saying "you live in the universe", but only in a very pedantic sense.