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 are the different ways of moving data/databases between servers and databases in sql server? : Sql server database administration

504


Write an sql query to sort a table according to the amounts in a row and find the second largest amount.

555


When is the use of update_statistics command?

549


How do I view a stored procedure in sql server?

511


Define a cross join?

588






What is the difference between migration and upgradation in sql server?

600


what is nonclustered index

537


What do you understand by a view?

555


How to enter unicode character string literals in ms sql server?

569


How to fine-tune reports?

151


How many replicas are maintained for each SQL Azure database?

128


How to modify the underlying query of an existing view?

530


How many types of relations are there between dimension and measure group? : sql server analysis services, ssas

749


What is the contrast amongst drop and truncate?

550


Are semicolons required at the end of sql statements in sql server 2005?

565