Hi SQL gurus,

i am working for an MNC...

My team is having a problem in sql server. when user slects
date prompts from jan 1st to april 30, it should display
all months data like :

jan aa
feb bb
mar cc

but when it comes to april its taking data like :

jan aa
feb bb
mar cc
apr dd...and so on

means its taking data again from jan to april which we dont
want. we want the data only april month as we are getting
jan, feb and mar...

can any one write the code to relsove the issue please

would be greatful if you can send to shiva_sans@yahoo.co.in

and also please send your email also ...so that we will be
in touch for any kind of queries ...


Thanks a lot in Advance !!!

Answer Posted / bru medishetty

A better way to get the query help is to post some
technical information of your Table Structure, and the SQL
code that you are executing, in which case it is helpful to
answer quickly rather we guess how your table/code looks
like.

My email is Bruhaspathy@hotmail.com

No Spamming and Chain emails Please.

Thanks,
Bru Medishetty
www.LearnSQLWithBru.com

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What factors you will consider calculating the storage requirement for that view?

718


What are indexes in sql?

783


State the difference between union and union all?

693


What is model database? : SQL Server Architecture

775


What is pivot and unpivot?

780


What is sparse columns of sql server 2008?

799


How to create an inline table-valued function?

731


Does index slows down insert statements?

757


Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.

764


What are the types of normalization?

719


How many replicas are maintained for each SQL Azure database?

138


What does sql server mean?

702


What is 2nf normalization form?

780


What is report snapshot?

128


What are trace flags?

771