Viewing 15 posts - 21,151 through 21,165 (of 26,484 total)
That's why I asked for more info. I didn't really feel comfortable giving an answer with so little info to really go on.
May 6, 2009 at 12:00 pm
Try this:
select
rwa_id,
'P'
from
leads_ce_work ce
left outer join common.dbo.acode ac
...
May 6, 2009 at 11:56 am
Alvin, congrats on figuring out what was needed. Of course, it won't make use of any indexes that may benefit the query if they exist. 😉
May 6, 2009 at 11:40 am
Still confused. You need to provide a better description of the problem and what you are trying to accomplish. Some sample tables (DDL to create), sample data (in...
May 6, 2009 at 11:29 am
For what it is worth, the following also returns the "correct" answer based on the original post:
create table #temp
(
week1 decimal(16,8),
week2 decimal(16,8),
week3 decimal(16,8),
gross decimal(16,8)
)
insert into #temp
select -9.12000000,-11.03000000,5.61690000,0
declare @a1 decimal(16,8),@a2 decimal(16,8),@a3 decimal(16,8);
update...
May 6, 2009 at 11:22 am
I refuse to post a link, but I really want to know what our favorite PhD candadate learned while in school for his current degrees.
I'm also curious how he manages...
May 6, 2009 at 11:14 am
karthikeyan (5/6/2009)
DECLARE @Fixed1 decimal(8,4), @Fixed2 decimal(8,4), @Fixed3 decimal(16,8);
SET @Fixed1 = 5444.32;
SET @Fixed2 = 12121.03; <-- Problem is here. decimal(8,4) means you only have room...
May 6, 2009 at 11:10 am
What does the date represent, the end of the reporting period? How does it equate to the start of the period? Using the dates in your original post,...
May 6, 2009 at 10:55 am
Looks like a permissions issue. You may not have the proper permissions to access the files where they reside.
May 6, 2009 at 10:53 am
First, if you are willing to spend a little money, instead of downloading SQL Server Express (free) you may want to purchase SQL Server Developer Edition for about $50.00 USD....
May 6, 2009 at 10:47 am
mike brockington (5/6/2009)
Maybe I should have made it explicit that my comments were based on experience, not on conjecture.
If the OP thinks it works well, I would be interested to...
May 6, 2009 at 10:16 am
Set based queries. Stay away from cursors! With that, they need to think differently when accessing data, they need to think in sets, not rows.
May 6, 2009 at 9:42 am
Steve Jones - Editor (5/5/2009)
Well here's a nice April Sat morning in Denver:http://lh3.ggpht.com/_8hTidvPiTuU/SgCqmUxlXLI/AAAAAAAAAiI/pxf8WYs9zH0/s512/Apr_snow_a.jpg
And here's lunchtime:
http://lh5.ggpht.com/_8hTidvPiTuU/SgCqmB_QA8I/AAAAAAAAAiA/VMCiDCZDEa0/apr_snow3.jpg
And here's late afternoon:
http://lh3.ggpht.com/_8hTidvPiTuU/SgCqlzeT1vI/AAAAAAAAAh4/XmnjzlFDV0w/apr_snow2.jpg
It was gone by Monday.
Yep, just confirms what I said, the snow just...
May 5, 2009 at 6:35 pm
DBA (5/5/2009)
surenow:
1900-01-30 00:00:00.000
1900-01-30 00:00:00.000
1900-03-04 00:00:00.000
1901-11-09 00:00:00.000
1901-11-09 00:00:00.000
desired :
1452
525
2
1525
1452
the data type for the column should had been
udDistID(int,not null)
can you help?
Only problem I see based on the above is...
May 5, 2009 at 3:21 pm
Please do not double post. It will simply fragment any responses you may receive.
Please post any replies here.
May 5, 2009 at 3:07 pm
Viewing 15 posts - 21,151 through 21,165 (of 26,484 total)