Write an StoredProcedure to get the values of a column
within a date range.
Answer Posted / suren
Example:
select col1 from table_name where
(( convert(DateTime,Date_Column1,102) between coalesce
(@Date_Column1,convert(DateTime,Date_Column,102)) and
coalesce(@Date_Column2,convert(DateTime,Date_Column,102))))
//Date_Column: Column in the Table
//Date_Column1: first value of date range
//Date_Column12: second value of date range
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Explain the difference between .net 2000 and .net 2005(features)? Which one is better?
What is view state in .net?
Explain me what is the difference between an abstract class and an interface?
What is machine.config in .net?
Explain the difference between public and static modifiers?
What is jit compilers?
Why is .net used?
Explain code access security.
Explain the code behind wors and contrast that using the inline style.
hai, about trading domain and need simple project on trading system. please help me...
Explain what are an object and a class?
How big is the datatype int in .net?
What is .net latest version?
What is .net code security?
What are the differences between com architecture and.net architecture?