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 is 1nf 2nf and 3nf?

495


How to get the definition of a trigger back?

551


How to use “drop” keyword in sql server and give an example?

688


How to create a large table with random data for index testing in ms sql server?

540


How to find a value in another dataset based on current dataset field (ssrs 2008 r2)?

116






What is history table in sql server?

509


How to select an exiting database using mssql_select_db()?

513


What are the different types of stored procedures?

556


What are the advantages of sql stored procedure?

542


Which operator do you use to return all of the rows from one query except rows are returned in a second query?

572


What are sub reports and how to create them?

99


What is a file group?

628


Explain for xml explicit mode?

571


what is a self join? : Sql server database administration

526


How do you improve the performance of a SQL Azure Database?

115