Viewing 15 posts - 18,916 through 18,930 (of 26,490 total)
gugan_ta (9/4/2009)
Hi,Thanks a lot...query works fine. Its saves huge processing time and an alternate to cursor.
Nice to know, but as you were given several alternatives, what is your final solution?
September 4, 2009 at 12:39 pm
Here is some code for you all to play with. Use at your own risk. I tested this with my Tally table.
create function dbo.tvf_EOM (
...
September 4, 2009 at 9:03 am
Years ago while attending Regis University for my BS degree, one of the courses I had to take was an Ethics class. Looking at things today, I think that...
September 3, 2009 at 2:34 pm
Developer/Programmer of some sort. Maybe be in IT Management.
September 3, 2009 at 2:26 pm
Show us what you are asking with a concrete example. Just from your description, I'm not sure what you are asking.
September 3, 2009 at 1:57 pm
Bob Hovious (9/3/2009)
I hope Jeff never sees this thread...
You mean Cardinal Moden of the SQL Inquisition? :w00t::w00t::w00t:
Hey Bob. another awesome avatar you have there this time.
September 3, 2009 at 12:08 pm
I'm being gracious today. Here is some code for you to check out. The clustered index on the temporary table IS REQUIRED as is.
Code has to be attached,...
September 3, 2009 at 9:52 am
GSquared (9/3/2009)
Dave Ballantyne (9/3/2009)
Shall I ? , i feel mean , but at the same time it is quite simple.http://www.sqlservercentral.com/Forums/Topic781960-338-1.aspx
I get a Page Not Found error from that address.
I think...
September 3, 2009 at 9:42 am
Bob Hovious (9/3/2009)
I love this one.Q: Can I use this syntax in SQL?
A: No
Q: Why not?
Because I said so! 😛
September 3, 2009 at 9:39 am
dmw (9/2/2009)
declare @ThisDate datetime;
set @ThisDate = getdate();
select
getdate() as CurrentDateTime,
dateadd(mm, datediff(mm, 0, @ThisDate) + 1, 0) as BeginningOfNextMonth, -- Beginning...
September 3, 2009 at 9:38 am
Try this:
with MyNavAttempts as (
select top 1000
isnull(shippingcost,0.00) as shippingcost
from
dbo.NavAttempts
)
select
sum(shippingcost)
from
MyNavAttempts;
September 2, 2009 at 10:13 am
I know what the problem is. Here is your code:
select top 1000
convert(varchar(30), convert(money, isnull(sum(shippingcost),0))) as "Total Navigation"
from
dbo.NavAttempts
The problem is that the...
September 2, 2009 at 9:47 am
Duplicate post. Please post replies here.
Please do not cross post.
September 2, 2009 at 9:07 am
Duplicate post. Please post replies here.
Please do not cross post.
September 2, 2009 at 8:33 am
Can you please show us what you are trying to do, what code have you written so far?
September 2, 2009 at 8:25 am
Viewing 15 posts - 18,916 through 18,930 (of 26,490 total)