Viewing 15 posts - 31 through 45 (of 1,216 total)
I don't think you would suffer performance penalty, but yes, if you want to use a set-based approach, you'd probably have to start in some earlier stage of data processing...
June 8, 2010 at 1:23 am
Hello,
my opinion is that if you want to loop through columns, you should leave the code where it is, in VB.
If you want to write SQL code that will do...
June 7, 2010 at 3:51 am
CAST as CHAR should help, maybe you're viewing the result in GridView? There it looks like the results don't have the same length, but if you copy the result into...
June 7, 2010 at 3:24 am
Ahh.. I begin to see a light.
Weight is weight of 1 piece.
CaseQty is number of pieces in a case, but PalletQty is number of CASES on a pallet.
Full is number...
June 7, 2010 at 1:08 am
I'm sorry, but I still don't get it.
Let's look at the first line:
Weight = 7 - that's weight of one piece, right?
CaseQty = 4, PalletQty = 12 - what is...
June 5, 2010 at 4:36 am
Hello,
this is quite interesting problem, but I wasn't able to understand the table. Could you please explain in words, what the data in temp_parttable mean?
I mean, if I look at...
June 4, 2010 at 2:24 am
Hi Greg,
we did, but it was quite complicated and I think it required use of Visual Basic script to suit our needs (my colleague was working on it, not me)....
May 27, 2010 at 2:48 am
Nice one, and you got me with that question. I absolutely forgot about "ch" and went with the popular "0" answer :crazy:
So-called "letter" ch can create some confusion because of...
May 25, 2010 at 8:55 am
I have never encountered this problem so far... the first thing I can see different on our servers is that we always have the setting of Use Remote Collation =...
May 21, 2010 at 1:44 am
I personally prefer the syntax with LEFT JOIN and NULL check in WHERE, but also the variant with EXISTS (SELECT ... FROM table WHERE <condition>) mentioned in previous post should...
May 19, 2010 at 4:44 am
Hi,
you mention problems with third INSERT INTO, but there are only 2 in your code as far as I can see. Since the query seems to be a simplified form...
May 18, 2010 at 1:56 am
IMHO the main problem you should try to solve is dates stored as integer. If you can't change the column datatype, maybe you could either add another column, or work...
May 13, 2010 at 9:39 am
Hello,
I'm afraid there isn't much we can help with. The column you reference is TEXT datatype, which is not allowed. Trying to convert the value doesn't help, it just isn't...
May 11, 2010 at 1:16 am
nialltuohy (5/9/2010)
May 10, 2010 at 12:58 am
Bhuvnesh,
you're right, there are no indexes in the posted code.
I created an index only later when I was testing the performance and didn't post the code. Here it is :...
May 9, 2010 at 1:25 am
Viewing 15 posts - 31 through 45 (of 1,216 total)