kSPvhmTOlwvMd7Y7E

joined 1 year ago
[–] kSPvhmTOlwvMd7Y7E 4 points 2 months ago

Absolutely not a replacement to VBA. Not even close. As usual, Microsoft hypes something everyone wants, and then implements something nobody asked

[–] kSPvhmTOlwvMd7Y7E 6 points 2 months ago

I feel offended by you somehow equalizing perl and lisp

[–] kSPvhmTOlwvMd7Y7E 22 points 2 months ago

This a much better done meme

The other one before makes zero sense

[–] kSPvhmTOlwvMd7Y7E -4 points 2 months ago

2100 parameters is a documented ODBC limitation( which applies on all statements in a batch)

This means that a

"insert into (c1, c2) values (?,?), (?,?)..." can only have 2100 bound parameters, and has nothing to do with code, and even less that surrounding code is "spaghetti"

The tables ARE normalised, the fact that there are 50 colums is because underlying market - data calibration functions expects dozens of parameters, and returns back dozens of other results, such as volatility, implied durations, forward duration and more

The amount of immaturity, inexperience, and ignorance coming from 2 people here is astounding

Blocked

[–] kSPvhmTOlwvMd7Y7E 1 points 2 months ago (1 children)

I timed the transaction and opening of the connection, it takes maybe a 100 milliseconds, absolutely doesn't explain ghe abysmal performance

Transaction is needed because 2 tables are touched, i don't want to deal with partially inserted data

Cannot share the code, but it's python calling .NET through "clr", and using SqlBulkCopy

What do you suggest i shouldn't be using that? It's either a prepared query, with thousands of parameters, or a plain text string with parameters inside (which admittedly, i didn't try, might be faster lol)

[–] kSPvhmTOlwvMd7Y7E 0 points 2 months ago* (last edited 2 months ago)

Will try bcp & report back EDIT: I can't install bcp because it is only distributed with SQLServer itself, and I cannot install it on my corporate laptop.

[–] kSPvhmTOlwvMd7Y7E -1 points 2 months ago* (last edited 2 months ago) (1 children)

I will try bcp. Somehow, i was convinced I had to have access to the machine running the sql server to use it, but from the doca i see i can specify a remote host.. Will report back! EDIT: I can't install bcp because it is only distributed with SQLServer itself, and I cannot install it on my corporate laptop.

[–] kSPvhmTOlwvMd7Y7E -2 points 2 months ago (2 children)

Please enlighten us? You barely know anything about the system or usage, and you have deduced nosql is better? Lol

[–] kSPvhmTOlwvMd7Y7E -1 points 2 months ago

I am using SqlBulkInsert, given how bad MS is with naming things, that might as well be row inserts instead of bulks

[–] kSPvhmTOlwvMd7Y7E 4 points 2 months ago

Oh buddy, enjoy your life & don't touch Microsoft even with a 10 meters stick

[–] kSPvhmTOlwvMd7Y7E 22 points 2 months ago (1 children)

I would not recommend using parquet instead of csv. Indeed, parquet is a type of wooden flooring, while csv is a human readable file format. As you can see, it is not wise to replace one with the other. Don't hesitate about asking more questions regarding your home design!

view more: ‹ prev next ›