Viewing 15 posts - 16 through 30 (of 56 total)
Hi there,
It was not displayed because the difference became 35 i.e. 660 (max) - 625 (min).. If you would still like to display macy, here's the modification:
;WITH cte AS
(
SELECT vndname,invdate,invamt,COUNT(invamt)...
September 2, 2010 at 1:41 am
Hi there,
Putting comma on left or right side has no impact on performance.. 🙂 The syntax is just the same..
I think people put it on the left side so...
September 1, 2010 at 11:34 pm
Hi there,
As i understand, this happens because Account Number is already displayed while the record is not yet saved.. I'm just going to suggest solution to avoid this problem.. 😛
Instead...
September 1, 2010 at 11:25 pm
Hi there,
I would just like to ask one thing.. What would happen if there's additional record like this one:
insert into test values (9,'macy','04-06-2006','660.0')
a. The difference between invamt of vndid 7...
September 1, 2010 at 9:35 pm
Hi there,
I don't know if that is possible.. But, why not drop the function after its use..
DROP FUNCTION [dbo].[f_functionname]
GO
I hope this helps.. 😛
September 1, 2010 at 5:03 am
Quatrei.X (8/30/2010)
:hehe: I haven't used SET STATISTICS TIME (ON|OFF) before. Thanks 😀
that's the one you guys used right? or is there a tool or something...
September 1, 2010 at 3:51 am
The "other" split method is, in fact, faster than the Tally table on my box (48 seconds vs 66 seconds) as, like shield_21 already noted, was stated in the original...
September 1, 2010 at 3:29 am
I'm testing Oleg's code method. The place that most XML methods fall apart in is when there are multiple rows. They do work fast as all get out...
August 30, 2010 at 9:36 pm
Hi there,
Here's another method for splitting comma separated values using recursive cte without using tally table.. When the string contains more than 8000 characters, this performs quite faster (otherwise DelimitedSplit8K...
August 27, 2010 at 9:53 am
My apologies for my late reply.. I'm quite busy at work..
Your code works! It even compares NULL against empty string and return them.. So I think this is fine.. I'm...
August 20, 2010 at 8:28 am
Hi there,
Here's a sample for FULL JOIN.. If @table1 has more data than @table2 or vice versa, this will work.. However, this can affect performance depending on the number...
August 19, 2010 at 7:14 pm
Hi there,
Mukti Ranjan (8/18/2010)
It is like when ever the user wants to add new record aginst each item by the (latestprice +10%) and one effectivedate.
In ABC/IT01, the latest price is...
August 19, 2010 at 2:32 am
Hi there,
I just noticed that item_value are arranged in ascending order both for table1 and table2.. This will work provided that you intended to sort first the item_value then compare...
August 19, 2010 at 1:44 am
Viewing 15 posts - 16 through 30 (of 56 total)