Viewing 15 posts - 511 through 525 (of 898 total)
anand.narayanan 87953 (6/21/2012)
Thanks for your reply...
again a strange thing!! that is i am able to retrive the results for top 7 records. where as
if i queried 'Select top...
June 21, 2012 at 4:47 am
Please post the DDL, sample data along with the expected output
If you are not clear on how to do this, refer the link in my signature
June 21, 2012 at 3:50 am
dwain.c (6/15/2012)
Kingston Dhasian (6/15/2012)
dwain.c (6/15/2012)
Jeez Kingston, you've let the cat out of the bag!!Actually you don't need to do a JOIN of any sort.
Yes, the OP's statement actually made us...
June 15, 2012 at 1:18 am
dwain.c (6/15/2012)
Jeez Kingston, you've let the cat out of the bag!!Actually you don't need to do a JOIN of any sort.
Yes, the OP's statement actually made us feel unhelpfull
So, I...
June 15, 2012 at 1:09 am
You are over thinking the homework assignment. Plus, having worked in a public school district, if there was a gap in years, I would assume that the mobility indicator...
June 15, 2012 at 12:40 am
Lynn Pettis (6/15/2012)
Kingston Dhasian (6/15/2012)
surma.sql (6/14/2012)
dwain.c (6/14/2012)
It appears that there is more than one person stumped on the same homework problem.http://www.sqlservercentral.com/Forums/Topic1316131-391-1.aspx
Thanks for reply. but please help me.
i need help, thats...
June 15, 2012 at 12:28 am
surma.sql (6/14/2012)
dwain.c (6/14/2012)
It appears that there is more than one person stumped on the same homework problem.http://www.sqlservercentral.com/Forums/Topic1316131-391-1.aspx
Thanks for reply. but please help me.
i need help, thats why i post
People here...
June 15, 2012 at 12:15 am
dwain.c (6/14/2012)
I'm still wondering where CTE2 is defined.
Its probably defined in the code the OP has
The OP has only posted the final SELECT statement
June 14, 2012 at 5:12 am
You will probably need Dynamic SQL for that
Post some sample data and the DDL of the the tables involved
This will make it easier for people to come up with tested...
June 14, 2012 at 3:47 am
I am not sure why you are having the HAVING clause
Even if one of the months have values, you will get 13 columns and not 3 or 4 as you...
June 14, 2012 at 12:33 am
Creating a script out of a stored procedure is not that difficult
You can replace the parameters in the stored procedures with variables and assign these variables some values as below
DECLARE@ids...
June 12, 2012 at 3:24 am
I think you are looking for a "Catch-All" query
Have a look at the link below which gives some ways to do it
http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/
June 12, 2012 at 12:53 am
bommaka.nagarjun (5/11/2012)
May 11, 2012 at 5:43 am
Your code should be changed like below
SELECT ISNULL(SUM([TedadTarhModiriatTafzili]), 0)AS TedadTarhModiriatTafzili ,
ISNULL(SUM([TedadTarhModiriatJame]), 0)AS TedadTarhModiriatJame ,
...
May 10, 2012 at 11:55 pm
pdanes (5/10/2012)
May 10, 2012 at 11:33 pm
Viewing 15 posts - 511 through 525 (of 898 total)