Viewing 15 posts - 18,916 through 18,930 (of 26,484 total)
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
Duplicate post. Please post replies here.
Please do not cross post.
September 2, 2009 at 8:24 am
Check the data, run this:
select top 1000
shippingcost
from
dbo.NavAttempts
September 1, 2009 at 9:02 pm
I'd start by showing us what you have tried so far. hard to know what you are doing wrong in your code without seeing it.
September 1, 2009 at 7:57 pm
Give this code a spin. It is untested as you did not provide the DDL for the tables or any sample data. To see how you really should...
September 1, 2009 at 7:56 pm
select replace(convert(varchar(8),getdate(),5),'-','');
Try the above.
September 1, 2009 at 4:13 pm
Viewing 15 posts - 18,916 through 18,930 (of 26,484 total)