WHERE (06/06/1978 < 06/06/1979) returns false ?
WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 10:24:55 von Legendsfan
WHERE (06/06/1978 < 06/06/1979) returns false ?
Clearly 1978 is smaller than 1979 ?
These are dates...
Why is the comparision failing ?
Bye,
Skybuck.
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 10:28:06 von dannys9
Skybuck Flying schrieb:
> WHERE (06/06/1978 < 06/06/1979) returns false ?
Stick to the subject. This is not a SQL group.
--
Military intelligence is a contradiction in terms.
-- Groucho Marx
....und wech
Danny
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 10:32:54 von Nicholas Sherlock
Skybuck Flying wrote:
> WHERE (06/06/1978 < 06/06/1979) returns false ?
>
> Clearly 1978 is smaller than 1979 ?
>
> These are dates...
BUT, is 5.0556e-4 smaller than 5.0530-4? NO.
Nicholas Sherlock
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 10:36:53 von Legendsfan
Maybe quotes are needed,
So far this seems to be working:
AND (''06/06/1978'' < ''06/06/1979'')
I'll try using quotes one more time ;)
Bye,
skybuck.
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 10:41:22 von Legendsfan
Nope, not working:
(Birthday <> null) AND
(Birthday > '06/06/1978') AND
(Birthday < '06/06/1979')
Bye,
Skybuck.
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 10:42:39 von Legendsfan
You need to:
1. Fuck off
2. Get a clue what the problem is.
Because you have no idea what the problem is, It could be a Delphi problem
it could be wrong SQL statement.
More information will follow relating to delphi if the problems is not
solved with correct sql statements.
Bye,
Skybuck.
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 10:44:56 von Legendsfan
Besides DIPSHIT,
Delphi is a PRODUCT FOR DATABASE DEVELOPMENT.
It's not that far OFF.
PHP-SQL
DELPHI-SQL
LOTS OF OVERLAP.
Besides there is no SQL ONLY NEWSGROUP.
Bye,
Skybuck.
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 10:47:03 von Legendsfan
To all others I say:
EXCUSE ME FOR MY FILTHY LANGUAGE.
BUT SOME ASSHOLES BEEN STALKING ME ON THE DELPHI NEWSGROUP FOR THESE LAST
FEW DAYS.
They need some harsh language to get them to fuck off.
Bye,
Skybuck.
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 10:50:52 von Nicholas Sherlock
Skybuck Flying wrote:
> Maybe quotes are needed,
>
> So far this seems to be working:
>
> AND (''06/06/1978'' < ''06/06/1979'')
>
> I'll try using quotes one more time ;)
How is it supposed to know that the text you've provided forms a date?
It doesn't look any different to any other string. In MySQL, dates are
formatted like 2007-01-01, without quotes. In Oracle, you use a to_date
function to convert a string with a format that you supply to a date.
Every database provider has a slightly different flavor. SQL questions
should go to the DBMS provider's forums.
Nicholas Sherlock
WHERE (#06/06/1978# < #06/06/1979#) works in MS Access. Problem solved ;)
am 06.01.2008 10:55:51 von Legendsfan
Following SQL example works:
(Birthday <> null) AND
(Birthday > #06/06/1978#) AND
(Birthday < #06/06/1979#)
Bye,
Skybuck.
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 10:59:23 von dannys9
Skybuck Flying schrieb:
> EXCUSE ME FOR MY FILTHY LANGUAGE.
>
> BUT SOME ASSHOLES BEEN STALKING ME ON THE DELPHI NEWSGROUP FOR THESE LAST
> FEW DAYS.
YOU are the ASSHOLE around here and are stalking everyone for over
years. Get it into your mind, that this is the reason why now everyone
strikes back. YOU ARE THE PROBLEM, NOT WE!
> More information will follow
Don't let any information follow anymore. Get a life and shut up at last.
--
Spend extra time on hobby. Get plenty of rolling papers.
....und wech
Danny
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 11:48:45 von Legendsfan
YOU ARE THE ASSHOLE YOU DO NOTHING BUT NAG ABOUT ME
PLONK.
IF YOU KEEP THAT UP YOU MIGHT BE THE FIRST PERSON IN HISTORY TO END UP ON MY
KILLFILE.
UNTIL NOW I HAVE BE VERY TORELANT AGAINST TROLLS AND ASSHOLES LIKE YOU AND
JIM.
Mostly for my own entertainment but now I want to develop something and your
nagging is no longer required for my entertainment purposes.
You should look at yourself and what you are doing and don't listen to what
other says.
Just because others say that I spam or whatever doesn't give you the right
to start hitting on me.
I am not even sure if that is the reason why you do this and I don't care
what the reason is.
All I see you do is nag, nag, nag, nag ABOUT ME !
I NAG ABOUT BUGS AND STUFF THERE IS A DIFFERENCE.
Bye,
Skybuck.
Actually I am going to killfile you right now because I am done.
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 12:17:17 von dannys9
Skybuck Flying schrieb:
> All I see you do is nag, nag, nag, nag ABOUT ME !
Now the little boy is crying, awh!
> I NAG ABOUT BUGS AND STUFF THERE IS A DIFFERENCE.
Yes, you never get personal.
--
"Sage nicht ja, bevor ich zuende gesprochen habe."
-- Darryl F. Zanuck
....und wech
Danny
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 12:19:38 von Legendsfan
I am gonna give you a 4 week ban ;)
Because you nagged a lot.
But you also wrote some stuff about Delphi.
After 4 weeks I shall remove you from the killfile and see how you do.
Bye,
Skybuck :)
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 13:26:59 von Rudy Velthuis
Skybuck Flying wrote:
> To all others I say:
>
> EXCUSE ME FOR MY FILTHY LANGUAGE.
>
> BUT SOME ASSHOLES BEEN STALKING ME ON THE DELPHI NEWSGROUP FOR THESE
> LAST FEW DAYS.
You deserve it. You have been terrorizing this group for ages with the
inane junk you post, while gratuitously insulting people along the line.
And yes, please, "ban" me too. Not 4 weeks, forever.
--
Rudy Velthuis http://rvelthuis.de
"We don't like their sound, and guitar music is on the way out."
-- Decca Recording Co. rejecting the Beatles, 1962
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 13:27:50 von Rudy Velthuis
Skybuck Flying wrote:
> After 4 weeks I shall remove you from the killfile and see how you do.
LOL! Who cares?
--
Rudy Velthuis http://rvelthuis.de
"Mit der Dummheit kämpfen Götter selbst vergebens"
"Against stupidity the (very) gods themselves contend in vain"
-- Friedrich von Schiller
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 13:34:22 von dannys9
Rudy Velthuis schrieb:
> You deserve it. You have been terrorizing this group for ages with the
> inane junk you post, while gratuitously insulting people along the line.
Oh-oh, remember he's a researcher, discussing only advanced,
experimental, scientific code.
--
Real software engineers don't debug programs, they verify correctness.
This process doesn't necessarily involve execution of anything on a
computer, except perhaps a Correctness Verification Aid package.
....und wech
Danny
Re: WHERE (#06/06/1978# < #06/06/1979#) works in MS Access. Problem solved ;)
am 06.01.2008 13:35:16 von Paul Lautman
Skybuck Flying wrote:
> Following SQL example works:
>
> (Birthday <> null) AND
> (Birthday > #06/06/1978#) AND
> (Birthday < #06/06/1979#)
>
> Bye,
> Skybuck.
Have you ever considered reading a manual?
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 15:23:10 von Legendsfan
As you wish.
No more name calling from you :)
Bye,
Skybuck.
Re: WHERE (#06/06/1978# < #06/06/1979#) works in MS Access. Problem solved ;)
am 06.01.2008 15:27:20 von Legendsfan
For something as simple as comparing dates: no.
Bye,
Skybuck.
Re: WHERE (#06/06/1978# < #06/06/1979#) works in MS Access. Problem solved ;)
am 06.01.2008 15:29:30 von Zathras
On Sun, 6 Jan 2008 12:35:16 -0000, "Paul Lautman"
wrote:
>Have you ever considered reading a manual?
Do a search on Usenet and you'll find that is a question often put to
the infamous Skybuck. He prefers people to do his work for him and
then calls it collaboration.
--
Z
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 16:25:04 von Legendsfan
The finally code would have looked something like:
(Birthdate < '06/06/1979')
Since Birthdate is a date field the SQL interpreter could have known the
string should contain a date.
Anything else would not make any sense ?!?
Bye,
Skybuck.
Re: WHERE (#06/06/1978# < #06/06/1979#) works in MS Access. Problem solved ;)
am 06.01.2008 16:39:55 von Paul Lautman
Skybuck Flying wrote:
> For something as simple as comparing dates: no.
>
> Bye,
> Skybuck.
You obviously aren't finding it that simple. Using the manual tells you how
to do these things properly in an instant.
Re: WHERE (#06/06/1978# < #06/06/1979#) works in MS Access. Problem solved ;)
am 06.01.2008 17:04:17 von Legendsfan
No need for manuals, others mention it on the internet.
I have never before seen such a weird way of specifieing a date so I tried
out many things to see what would work and what not.
Apperently the other ones don't work and # has to be used for ms access.
However I am switching to mysql so sooner or later I might have to use a
different date string (?)
Bye,
Skybuck.
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 20:50:56 von JIm P
Danny Strümpel wrote:
> Skybuck Flying schrieb:
>> EXCUSE ME FOR MY FILTHY LANGUAGE.
>>
>> BUT SOME ASSHOLES BEEN STALKING ME ON THE DELPHI NEWSGROUP FOR THESE
>> LAST FEW DAYS.
>
> YOU are the ASSHOLE around here and are stalking everyone for over
> years. Get it into your mind, that this is the reason why now everyone
> strikes back. YOU ARE THE PROBLEM, NOT WE!
>
>> More information will follow
>
> Don't let any information follow anymore. Get a life and shut up at last.
>
sooner or later - - - -
a person has to realize that if they whole world is against him
that all are saying the same thing about him - - -
that there might some truth to what is being said.
we are tired of you and your stuff - - -
listen and learn - - -
take your med's
it is not one saying this - - - it is all - - - -
you are the only one thinking differently - - - -
you are the problem - - -
Jim P.
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 21:01:42 von JIm P
Rudy Velthuis wrote:
> Skybuck Flying wrote:
>
>> After 4 weeks I shall remove you from the killfile and see how you do.
>
> LOL! Who cares?
very true
why not ban yourself and make all happy
and then you will not have to put up with abuse from us
as we return what you give
Jim P
Re: WHERE (#06/06/1978# < #06/06/1979#) works in MS Access. Problemsolved ;)
am 06.01.2008 21:04:26 von JIm P
Skybuck Flying wrote:
> For something as simple as comparing dates: no.
>
> Bye,
> Skybuck.
>
>
but then you would have the answer instead of making us your manual.
Jim P.
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 06.01.2008 21:05:52 von JIm P
Skybuck Flying wrote:
> The finally code would have looked something like:
>
> (Birthdate < '06/06/1979')
>
> Since Birthdate is a date field the SQL interpreter could have known the
> string should contain a date.
>
Why?
> Anything else would not make any sense ?!?
>
> Bye,
> Skybuck.
>
>
>
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 07.01.2008 15:28:38 von David Kerber
In article <15e0d$4780a0b4$541983fa$1580@cache3.tilbu1.nb.home.nl>,
spam@hotmail.com says...
> Maybe quotes are needed,
>
> So far this seems to be working:
>
> AND (''06/06/1978'' < ''06/06/1979'')
>
> I'll try using quotes one more time ;)
It's comparing them as strings, not dates. If you put them in the
format yyyy-mm-dd, either one will work.
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
Re: WHERE (#06/06/1978# < #06/06/1979#) works in MS Access. Problem solved ;)
am 07.01.2008 15:29:59 von David Kerber
In article <90be5$4780a525$541983fa$11100@cache2.tilbu1.nb.home.nl>,
spam@hotmail.com says...
> Following SQL example works:
>
> (Birthday <> null) AND
> (Birthday > #06/06/1978#) AND
> (Birthday < #06/06/1979#)
The #'s tell me you're working with Access, which is probably the least
standards-compliant database you can find.
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?
am 07.01.2008 15:33:19 von David Kerber
In article ,
spam@hotmail.com says...
> The finally code would have looked something like:
>
> (Birthdate < '06/06/1979')
>
> Since Birthdate is a date field the SQL interpreter could have known the
> string should contain a date.
Or did it think you wanted to convert the date to a string and compare
as strings? It has no way of knowing what you want.
>
> Anything else would not make any sense ?!?
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
Re: WHERE (#06/06/1978# < #06/06/1979#) works in MS Access. Problemsolved ;)
am 07.01.2008 17:03:00 von geoff
Zathras wrote:
> On Sun, 6 Jan 2008 12:35:16 -0000, "Paul Lautman"
> wrote:
>
>> Have you ever considered reading a manual?
>
> Do a search on Usenet and you'll find that is a question often put to
> the infamous Skybuck. He prefers people to do his work for him and
> then calls it collaboration.
>
tell me about it
at least he's not as bad as the mi5 guy......
ish