Fuck You, SQL Server

Message Bookmarked
Bookmark Removed
Anyone had the misfortune to have to work with SSIS?

Colonel Poo, Saturday, 3 March 2007 02:19 (eighteen years ago)

is that their dts replacement? not yet, waht am I in for?

Edward III, Saturday, 3 March 2007 02:22 (eighteen years ago)

Well it's a gigantic pain the in arse. Vague & useless error messages, components that just don't work, usual Microsoft stuff. I have 4 years experience with DTS and I may as well have never used it before.

Colonel Poo, Saturday, 3 March 2007 02:25 (eighteen years ago)

Yes, and it is as horrid as you say (and you were being nice).

Jaq, Saturday, 3 March 2007 04:06 (eighteen years ago)

I guess I should talk to the guy in my department who's planning to migrate our data warehouse w/ hundreds of dts packages to 2005.

Edward III, Saturday, 3 March 2007 04:28 (eighteen years ago)

DTS is nightmarish. The notion that it could get WORSE is beyond comprehension.

libcrypt, Saturday, 3 March 2007 04:44 (eighteen years ago)

I guess going from overly complicated and laborious to plain old doesn't fucking work could be considered a step down.

Edward III, Saturday, 3 March 2007 04:56 (eighteen years ago)

DTS isn't just another failed attempt at allowing folks too stupid to script to get 'round the problem with a pretty GUI. It's an actively malicious attempt to foil the efforts of legitimate DBAs to manage MSSQL.

libcrypt, Saturday, 3 March 2007 05:00 (eighteen years ago)

well then I guess on yr terms they've succeeded completely w/ SSIS

Edward III, Saturday, 3 March 2007 05:11 (eighteen years ago)

one month passes...
Ok, this was the only SQL topic I could find. Does anyone have a book they'd rec for comprehensive med/adv SQL? My knowledge is pretty limited (as CS doesn't teach it) and I'm starting to feel like I need to understand some things better. It'd be really nice if it covered all the SQL extensions in MySQL (and other RDBMSs).

Catsupppppppppppppp dude ‫茄蕃‪, Friday, 20 April 2007 16:30 (eighteen years ago)

I hate SQL

admrl, Friday, 20 April 2007 16:31 (eighteen years ago)

me too

Catsupppppppppppppp dude ‫茄蕃‪, Friday, 20 April 2007 16:51 (eighteen years ago)

I've written an entire relational database before and I hate SQL even more because of it. Fuck you ascii string queries

Catsupppppppppppppp dude ‫茄蕃‪, Friday, 20 April 2007 16:52 (eighteen years ago)

http://forums.oracle.com/forums/thread.jspa?threadID=499980&start=0&tstart=0

stet, Friday, 27 April 2007 01:29 (eighteen years ago)

Stet, that's a classic.

Jaq, Friday, 27 April 2007 01:50 (eighteen years ago)

I've written an entire relational database before

No you haven't.

I can help you if you want. It's little to do with SQL and more to do with computational complexity / algorithms & data structures.

Keith, Friday, 27 April 2007 01:51 (eighteen years ago)

currently using this one

http://ec1.images-amazon.com/images/I/51DDoMcqQQL._BO2,204,203,200_PIsitb-dp-500-arrow,TopRight,45,-64_OU01_AA240_SH20_.jpg

don't know how "med/adv" it is but it covers MySQL, PostgreSQL, Micro$oft SQL Server, Oraclol, IBM DB2

am0n, Friday, 27 April 2007 04:14 (eighteen years ago)

and Access

am0n, Friday, 27 April 2007 04:15 (eighteen years ago)

FWIW, my entire department has used one copy of this book for the last four or five years:

http://g-ec2.images-amazon.com/images/I/410lpw3ESeL._SS500_.jpg

Keith, Friday, 27 April 2007 12:21 (eighteen years ago)

That link is very funny, Stet:


MANY "GURUS" HERE BUT NONE KNOW THE ANSWER????????

DO NOT POST UNLESS U ANSWER RESPECTFULLY

Keith, Friday, 27 April 2007 12:26 (eighteen years ago)

haha

am0n, Friday, 27 April 2007 13:22 (eighteen years ago)

off-topic but does anyone know a good actionscript book?

am0n, Friday, 27 April 2007 13:24 (eighteen years ago)

Although it's billed as a T-SQL book and it's written specifically for SQL Server 2000, I'd recommend this book for anyone who wants to learn more about SQL:

http://tal.forum2.org/tsql

Programming books are by and large a wasteland of fluff, bloat, poor writing, sloppy mistakes, and misinformation - this book is a happy exception. The writer clearly knows his stuff, he writes in a no-nonsense conversational style, and he has a knack for zeroing in on the tricky subtleties and making them clear. This is practically unheard of in the realm of programming literature. (Since writing this series of books, the author has been hired by the evil empire in Redmond, so I wouldn't expect his next book to be nearly as disarmingly frank and insightful as this one.)

o. nate, Friday, 27 April 2007 19:04 (eighteen years ago)

Seriously keith, fuck you.

Catsupppppppppppppp dude ‫茄蕃‪, Friday, 27 April 2007 19:10 (eighteen years ago)

This is my Internet, dude. You just post in it. I brought you inna this world and I'll take you out just as easy.

libcrypt, Friday, 27 April 2007 19:51 (eighteen years ago)

Nice.

o. nate, Friday, 27 April 2007 20:03 (eighteen years ago)

two months pass...

Today's SQL Server hate topic is ISNUMERIC.

SELECT ISNUMERIC('350000' + CHAR(160))

-----------
1

(1 row(s) affected)

SELECT CONVERT(INT, '350000' + CHAR(160))

-----------
Msg 245, Level 16, State 1, Line 1
Syntax error converting the varchar value '350000 ' to a column of data type int.

FUCK YOU.

(the solution is to convert to Money first, then Int, but really, FFS. I have no idea what unprintable character 160 is doing in the source file, but there's no accounting for our clients unfortunately.)

Colonel Poo, Tuesday, 17 July 2007 12:22 (eighteen years ago)

It's interesting that CHAR(160) = # for me. It's not a legal UTF-8 character, so if you're using UTF-8, it may provoke undefined behavior.

libcrypt, Tuesday, 17 July 2007 18:04 (eighteen years ago)

Nope, it's an ASCII field, not Unicode.

Colonel Poo, Wednesday, 18 July 2007 08:13 (eighteen years ago)

ASCII is defined for 0-127. Above that, you're in another character set. In ISO-8859-1 and ISO-8859-15, 160 is a non-breaking space, but I really have no idea what charset MS is pretending is "ASCII" between 128-255.

libcrypt, Wednesday, 18 July 2007 15:36 (eighteen years ago)

I assume that's why it's unprintable.

Colonel Poo, Wednesday, 18 July 2007 16:24 (eighteen years ago)

FUCK YOU FUCK YOU FUCK YOU.

Trying to edit an SSIS package because a client changed their XML spec, and I get this handy error every time I try to edit a component:

Error HRESULT E_FAIL has been returned from a call to a COM component.

Can't get any details about it at all.

Then my SQL Server Management Studio crashed when I tried to connect to Integration Services.

AND every time I try and add columns to a table using the Management Studio it times out, which SQL Server 2000 Enterprise Manager didn't do.

SQL Server 2005 really is a piece of fucking shit.

Colonel Poo, Wednesday, 1 August 2007 10:53 (eighteen years ago)

seven months pass...

YOU FUCKING CUNTS

CREATE TABLE #Results
(SvrName VARCHAR(255)
,DBName VARCHAR(255)
,string VARCHAR(255)
,xtype VARCHAR(10)
,name VARCHAR(256))

IF @includeDetails = 1
BEGIN
ALTER TABLE #Results
ADD Details VARCHAR(4000)
END

Warning: The table '#Results' has been created but its maximum row size (9066) exceeds the maximum number of bytes per row (8060). INSERT or UPDATE of a row in this table will fail if the resulting row length exceeds 8060 bytes.

WTF??! 255 + 255 + 255 + 10 + 256 + 4000 is blatantly NOT more than 8060 you stupid piece of shit!

Colonel Poo, Thursday, 20 March 2008 13:00 (seventeen years ago)

What are you running that code on? I run that on SQL2000 and get no error message.

The Wayward Johnny B, Thursday, 20 March 2008 13:19 (seventeen years ago)

SQL 2000, in a stored proc.

It works outside the proc.

I also get this:

Cannot sort a row of size 8106, which is greater than the allowable maximum of 8094.

when doing SELECT * FROM #Results

I'm not asking it to sort! WTF!

Colonel Poo, Thursday, 20 March 2008 13:20 (seventeen years ago)

Is it implicitly turning it into an NVARCHAR for some stupid reason? I'm stumped.

Colonel Poo, Thursday, 20 March 2008 13:22 (seventeen years ago)

I even added exec tempdb.dbo.sp_help #Results to the proc and got this:

SvrName varchar no 255
DBName varchar no 255
string varchar no 255
xtype varchar no 10
name varchar no 256
Details varchar no 4000

So it's definitely creating the temp table as I'd expect it. Where is it getting these figures of 9066 and 8106 bytes from??

Colonel Poo, Thursday, 20 March 2008 13:24 (seventeen years ago)

Tried replacing the temp table with a permanent one, same thing. ???!!!

Colonel Poo, Thursday, 20 March 2008 13:27 (seventeen years ago)

What Characterset are you using?

Mezza, Thursday, 20 March 2008 13:41 (seventeen years ago)

It's not that I've sort of fixed it now. It's a misleading/wrong error message - the problem had nothing to do with creating the table.

I was inserting data that was NVARCHAR into the table, that took it over 8060 bytes. Why it decided to tell me there was an error creating the table rather than inserting into it I have no idea. I added explicit CONVERT(VARCHAR(4000), <nvarchar field>) to the INSERT statement and the error went away (although I still get the warning message, which is annoying but not really a problem I suppose).

Colonel Poo, Thursday, 20 March 2008 13:48 (seventeen years ago)

five years pass...

I miss SQL Server :(

Just noise and screaming and no musical value at all. (Colonel Poo), Monday, 25 March 2013 17:58 (twelve years ago)

ms sql server, the only database i've encountered able to deadlock on concurrent reads.

s.clover, Monday, 25 March 2013 20:38 (twelve years ago)

With (nolock), dudes..

Mark G, Monday, 25 March 2013 22:16 (twelve years ago)

^^^

Darth Icky (DJP), Monday, 25 March 2013 22:21 (twelve years ago)

I'm quite nostalgic about the complaints I had upthread. I'd give anything to swap annoying ISNUMERIC logic to the abject horror that is MySQL.

Luckily everyone who works here agrees with me and we're looking to move everything to Postgres but that will take a long time to happen.

Just noise and screaming and no musical value at all. (Colonel Poo), Tuesday, 26 March 2013 09:23 (twelve years ago)

seven months pass...

ARGGGHHHHHH IJKOFJ034UF903RUFJE

just about ready to murder sql

c21m50nh3x460n, Sunday, 17 November 2013 00:42 (twelve years ago)


You must be logged in to post. Please either login here, or if you are not registered, you may register here.