sql server 2008 - Compare two dates with existing date and Get values from Table -



sql server 2008 - Compare two dates with existing date and Get values from Table -

i'm using sql2008 create sps. in procedure want compare 3 date values , between 2 dates info table.

i'm getting 2 dates ui @date1, @date2 , have date3 column in table based on @date1, @date2 , date3 want select info table.

how can this?

i think want this:

select col1, col2, col3, ... table date3 between @date1 , @date2

this rows table date3 date >= @date1 , <= @date2.

sql-server-2008

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -