Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
SQL ABFRAGE (alle Datensätze zwischen eines bestimmten Datums abfragen)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Marcus  
View profile   Translate to Translated (View Original)
 More options Jul 11 2006, 8:02 am
Newsgroups: microsoft.public.de.german.entwickler.dotnet.vfoxpro
From: "Marcus" <mar...@matrixpost.de>
Date: Tue, 11 Jul 2006 14:02:25 +0200
Local: Tues, Jul 11 2006 8:02 am
Subject: SQL ABFRAGE (alle Datensätze zwischen eines bestimmten Datums abfragen)
Hi,

habe das Problem einer Abfrage an eine FOXPRO Tabelle, die alle Datensätze
listen soll die zwischen eines bestimmten Datums liegen.
Wenn ich die Abfrage nur nach einem Datum bsp. => abfrage funktioniert es
ohne Probleme, wenn aber nach Datensätzen
die zwischen zwei Daten  liegen abgefragt wird, bringt er keine
Fehlermeldung, jedoch auch keine Daten obwohl zwischen diesem
Datum Datensätze vorhanden sind.

Hier die zwei sql-Strings, bei beiden findet er keine Datensätze. Liegt hier
ein Fehler in der Abfrage ????????
(wie gesagt findet er Datensätze wenn ich nur nach einem Datum mit => oder
=< suche!)

select * from TABELLE where (TABELLE.DATUM  BETWEEN {01.01.2006} and
{31.12.2006}) order by DATUM

select * from TABELLE where (TABELLE.DATUM => {01.01.2006} and TABELLE.DATUM
=< {31.12.2006}) order by DATUM

Grüsse
Marcus


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcus  
View profile   Translate to Translated (View Original)
 More options Jul 11 2006, 11:01 am
Newsgroups: microsoft.public.de.german.entwickler.dotnet.vfoxpro
From: "Marcus" <mar...@matrixpost.de>
Date: Tue, 11 Jul 2006 17:01:52 +0200
Local: Tues, Jul 11 2006 11:01 am
Subject: Re: SQL ABFRAGE (alle Datensätze zwischen eines bestimmten Datums abfragen)
Ok, mein Fehler. Das Datum muss natürlich im Format {mm/tt/jjjj} angegeben
werden.

Gruss
Marcus

"Marcus" <mar...@matrixpost.de> schrieb im Newsbeitrag
news:OxO$2IOpGHA.2464@TK2MSFTNGP03.phx.gbl...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google