• 0
Sign in to follow this  
Guest - marcos -

Intervalo De Data

Question

Guest - marcos -

como faço para consultar atraves da sql em um intervalo de data. ex.:

datainicial e data final

(01/03/2006 à 31/03/2006)

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
Guest - marcos -

bom, tem um banco de dados e nele tenho q fazer uma busca entre duas datas, c/ a condição de q um Radiogroup tem q sr =0. utilizei o between mas ele da o seguinte erro: Type mismatch in expression. quando rodo no sql explorer: select * from tabela where campo>='.......' and Radiogroup='condição' ele executa, mas quando coloco o between dá o erro citado acima. o q fazer?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this