Also, if I'm lucky, I'll be able to write code for the gift card store. Then I'll be a billionaire. When that happens, I'll buy you a fish and chip or whatever the hell you guys eat.
runs powershell with -version 2 switch because it keeps moaning about .Net 4. Scripts runs two other scripts, powershell doesn't carry current settings over to other script calls. WHAT THE FUCK MICROSOFT? WHAT THE ACTUAL FUCK?!
@Billdr's log, EarthDate 2013-14-01 13:25. I have noticed an unusual sensation in my bowels. I have embarked on a trip to the toilet to find out what it is. @Billdr's log, EarthDate 2013-14-01 13:31. Turns out it was just a shit.
@AndréSilva PowerShell is great sometimes, but literally only because it's usually well documented, or products that include powershell cmdlets have a help page. For everything else it's fuckign annoying
@ActionHank You're screwed. You'll need to write some sort of function that takes the current Container.DataItem (the bound object) and outputs a load of html..
Today is my first day at Coverity! I am super-excited! I have an enormous amount to learn about their1 systems. Since I have not so much as logged in to a Unix-based development environment since 1996, I’m going to be completely … Continue reading →
Thunderbirds is a 2004 science-fiction adventure film loosely based upon the 1960s television series of the same name, directed by Jonathan Frakes.
The film, written by William Osborne and Michael McCullers, was released on July 24, 2004 in the United Kingdom and July 30, 2004 in the United States, with later dates for others. The film uses live-action actors playing the Tracy brothers rather than the Supermarionation marionettes used in the television series.
The film received mainly negative reviews, and was a financial failure at the box office. The film's soundtrack features the so...
I am using JDBC to interact with MS SQL Server. I need to insert data(batch of rows) into DB and retrieve data. Should I go with simple batch execution of sql statements using JDBC or should I use stored procedures to insert data?
I need to know SQL side, not JDBC side, my question is whether to send all insert sql commands to server or invoke stored procedures to insert data in DB? Which one will be efficient?
@Meraman It depends. I generally use stored procedure if the same code is going to be used somewhere else. If it's only going to be used once, I would just make an sql command like so.... INSERT INTO myTable(column1, column2, column3) VALUES(@value1, @value2, @value3) then just loop through my data and change the parameters each time
@Meraman I guess it depends. If you need to have a low network profile, call a stored procedure and only put the values over to the database. If it doesn't matter, use multiple Inserts (you can use Parallel.Foreach and other stuff to speed things up)
@Sean I've seen enough SQL procedures to know that a comma seperated list will do...and will also kill any try to make it more performant. I really don't like SqlProcedures/Functions.
got it.. but u know other developer created stored procedures, which have just insert query, I will be passing information for each row in stored proc.. he is telling stored proc is better.. but i don't think as I will be using stored proc for only just insert statement?
@Meraman Long and short of it, you're going to be executing a batch of statements either way, so you can either execute a stored proc 20 times, execute a one-line statement 20 times, or build your statement as 20 one-line statements and send it all in one go. Doing them all in one, I think would mean less overhead as the SQL driver only has to set up one connection to the database
@Meraman For clarification the third option would look like: INSERT INTO myTable(column1, column2) VALUES(@value1, @value2); INSERT INTO myTable(column1, column2) VALUES(@value3, @value4); etc.
@SteffenWinkler Yeah I have a dbo.splitString function =P
@Sean yeah that is be available in JDBC, I will create statement with placeholders for values and also this statement will be compiled only once. I can create batch and put those many rows required..