Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 date problem

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-10-15 : 08:30:17
Techno writes "i am selecting some records using the date validations.. I am using the format functions.. but now the problem is it works fine in Access and now i need a function which should be working for both Access and Sql Server..the access query is below:-

Select * from tblname where datefield >=format('04/21/1982','mm/dd/yy') and datefield <= format('10/11/2001','mm/dd/yy')

the datefield contain date with time.. so only i used this format function.. and now its gives error in sql server cause the format function is not a recognised function in sql server..

Kindly help!

Thank U"
   

- Advertisement -