LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in SQL query in MDB database

Hello all,

                    I am using mdb database and want to read specific time stamp record based on time stamp. I am using simple sql query but I am getting one error. Please let me know where I am making mistake(s). One error is operator missing. VI and database is attached.

 

My query is -SELECT * FROM Downloaded_120 where col2 between 13:00:00 04-06-2013 and 14:00:00 04-06-2013

 

Thanks.

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 1 of 4
(2,863 Views)

http://digital.ni.com/public.nsf/allkb/4012B21BA0876907862576110070FC0A

 

You're missing the #s, too.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 2 of 4
(2,851 Views)

Thanks, it works perfectly.

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 3 of 4
(2,821 Views)

@Ranjeet_Singh wrote:

Thanks, it works perfectly.


Then you should mark this thread as solved and perhaps give a Kudo.

 

0 Kudos
Message 4 of 4
(2,805 Views)