Rank: Member
Groups: Registered
Joined: 10/31/2016(UTC) Posts: 13 Location: hyd
|
Dear Admin I am trying to use my sql between dates but its not working fine most of the times its showing wrong data and blank so kindly help me for the same
Thanks
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
Are you using the 3.0 version ? Did you check the date format specified in your connection (normally "yyyy-MM-dd HH:mm:ss" for standard database), the default should work fine for a default sql installation... I made a quick try with the demo db: Code:SELECT DISTINCT
film.title AS C0,
film.description AS C1,
film.release_year AS C2,
film.last_update AS C3
FROM film
WHERE (film.last_update Between '2006-02-15 05:03:42' AND '2006-02-15 05:04:00')
ORDER BY film.title ASC,film.description ASC,film.release_year ASC,film.last_update ASC
the sql is correct.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/31/2016(UTC) Posts: 13 Location: hyd
|
Yes Currently i am using 3.0 version and date format is default ("yyyy-MM-dd HH:mm:ss") when i select between two dates it's showing blank and total number of records 2 lakhs + kindly suggest me solution for this
Tool is very very good
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
can you post the SQL generated...
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/31/2016(UTC) Posts: 13 Location: hyd
|
Thanks its working fine the problem with bad joins
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.