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 !!!



Hi SQL gurus, i am working for an MNC... My team is having a problem in sql server. when user ..

Answer / 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

More SQL Server Interview Questions

code to create procedure for taking databse backup in sql server or i have the query for it but what it's query returns means i want to show on my jsp that the databse backup has been taken on the basis of that return value.does it returns 0 or 1.wat is the code for that

0 Answers   IGT,


i want to create procedure for create table in sql server 2005 for example create procedure create_table @table varchar(20) as create @table( id int, name char(20) ) but it will get error what is solution?

5 Answers   Aptech,


What are the benefits of using stored procedures over sql statements?

3 Answers   Ness Technologies,


What is indexed views? plz explain with example?

2 Answers  


What are ddl (data definition language) statements for tables in ms sql server?

0 Answers  






How to list all objects in a given schema?

0 Answers  


How to create a new login name in ms sql server?

0 Answers  


What is the difference between having clause and where clause in sql server?

0 Answers  


How to find the source of a table in sql server?

0 Answers  


Can I delete event logs?

0 Answers  


Different Types of Functions ?

2 Answers   Satyam,


What do you know about system database? : SQL Server Architecture

0 Answers  


Categories