Viewing 15 posts - 4,111 through 4,125 (of 5,504 total)
Try the following:
Open Query Editor (or whatever the name was back in SQL 2000... I simply forgot). Highlight the word "sysobjects" and press {F1}. IIRC it will open the...
March 3, 2010 at 12:08 pm
Jeff Kring (3/3/2010)
I did look into ROW_NUMBER as an option. I could use it to return the correct rows, but the application needs the actual value as well.
I don't...
March 3, 2010 at 11:59 am
Did you look into ROW_NUMBER function (assuming you're using SQL2005)?
March 3, 2010 at 11:39 am
Please provide table def and rsample data in a ready to use format. For details on how to do that please see the first link in my signature.
Furthermore, your code...
March 3, 2010 at 11:29 am
Ok, here's what I came up with.
It is imporant to understand the quirky update concept as well as the requirements that need to be fulfilled. So, I urge you to...
March 3, 2010 at 11:20 am
Kingston Dhasian (3/2/2010)
SELECT*
FROM cElements A
LEFT JOIN sectionList D ON D.sectionID = A.sectionID
LEFT JOIN fList E ON E.fID = D.fID
WHERE
1 = CASE
WHEN '2006' IN(SELECT ...
March 3, 2010 at 10:20 am
ashok_raja (3/3/2010)
Apoligize for the confusion..
Here is what I want
ID CODE Value Volume RunningTotal Average
1 ...
March 3, 2010 at 10:06 am
miss.delinda (3/3/2010)
Ok guys. Felt better now.For me, XML parameter will hurt performance it's a myth
No it's not. And yes, it is.
Like with any other tool/command/feature: if used wrong, it will...
March 3, 2010 at 5:38 am
To give an example of Adi's great explanation regarding the right place for the right tool:
If you'd need to send 3 or 4 parameter to a procedure, then a comma...
March 3, 2010 at 4:10 am
There's not only the person who's posting such data. There are people around in almost each and every forum who realize that those data seem to be real/production.
So we should...
March 2, 2010 at 4:55 pm
ashok_raja (3/2/2010)
Actually 46 will not be there as the next row will be for different ID
i.e
Insert into dr_temp(ID,Code,Value,Volume) Values(
2,'120',31,2311)
if present then Yes! it matches, I think Let's get the...
March 2, 2010 at 2:53 pm
ashok_raja (3/2/2010)
Hi,Yep we can use the last one.
Can this done in a SQL Query?
Thanks
It depends.
Usually, a SQL query will rely on some logic requirement(s). If both results are possible,...
March 2, 2010 at 2:35 pm
Why not joining the temp table directly to the query?
Something like
SELECT *
FROM cElements A
LEFT JOIN sectionList D ON D.sectionID = A.sectionID
LEFT JOIN fList E ON E.fID =...
March 2, 2010 at 2:26 pm
It still is not really clear:
280164.5 falls in the range b/w 106886 and 380683.
But it also falls in the range b/w 179646 and 560329. Why not use that one?
March 2, 2010 at 2:16 pm
Jeff Moden (3/2/2010)
nathan 7372 (3/2/2010)
March 2, 2010 at 2:12 pm
Viewing 15 posts - 4,111 through 4,125 (of 5,504 total)