 |
| Hinweise |
Willkommen im TP-Hilfe-Forum!Dies ist ein Forum zu den Themen Photoshop, Dreamweaver, Flash, Selbständigkeit und mehr, in dem Du Hilfe, Anleitung oder eine Lösung zu Deinen Problemen erhältst. Aktuell bist Du in unseren Foren als Gast mit reinen Leserechten unterwegs. Wenn Du Dich registrierst, kannst Du eigene Themen verfassen, deine Frage stellen und privat mit anderen TPlern kommunizieren. Weitere Foren werden zugänglich, und Du wirst – falls gewünscht – per Mail über neue Beiträge informiert. Die Registrierung ist schnell und kostenlos. Sollten bei der Registrierung Fragen auftauchen, reicht ein Klick in unsere Hilfe - Häufig gestellte Fragen oder eine kurze Mitteilung an das Support-Team. Viel Spaß bei Traum-Projekt.com |
07.05.2003, 13:53
|
#1
|
|
TP-Veteran
Registriert seit: Jun 2001
Ort: Wien
|
ODBC Fehler 37000
Servas!!!!
Ich bekomme andauernd diesen besch.... Fehler ausgespuckt bei einem relativ simplen SELECT-Query!
Fehler:
Warning: SQL error: [Caché ODBC][State : 37000][Native Code 23] [CacheODBC.so] [SQLCODE: <-23>:] [Cache Error: <errdone+10^%qaqqt>] [Details: ] [%msg: < SQL ERROR #23: Label `SOLL' is not listed in FROM^SELECT Soll . sodat ,>], SQL state 37000 in SQLExecDirect in /usr/.../emvergleich.php on line 148
Der SQL-Strings dazu:
PHP-Code:
$sql3 = "SELECT Soll.sodat, Soll.vpol, Soll.total, Soll.vvgs, Ist.vprbist, Ist.vprbze, Ist.vpol, Ist.vvgs FROM SOLLIST.Soll FULL JOIN SOLLIST.Ist ON Soll.sodat = Ist.vprbze AND Soll.vpol = Ist.vpol";
$ausgabe = odbc_exec($conn, $sql3) or die ("Fehler in der Abfrage der Temp. Tabellen<br>\n".odbc_error());
Ich flipp schon langsam aus!
lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|
|
|
07.05.2003, 14:26
|
#2
|
|
TP-Insider
Registriert seit: May 2002
Ort: Colonia
|
Liegt dem Ganzen eine Access DB zugrunde?
Ich glaube, dass Access keine Full Joins unterstützt!
Hab gerade keine Zeit, gucke später nochmal drüber.
Ausserdem scheint mir die Join Syntax als solche falsch.
Du liest Felder aus "Soll" und "Ist" aus und joinst Sollist.soll?
__________________
Gruss freefonzo
"Ein Experte ist ein Mann, der hinterher genau sagen kann, warum seine Prognose nicht gestimmt hat."
Sir Winston Churchill
1. lesen || 2. suchen || 3. posten || 4. Traum Scripts einbauen || 5. So sehen also TP'ler aus ?
|
|
|
07.05.2003, 14:36
|
#3
|
|
TP-Veteran
Registriert seit: Jun 2001
Ort: Wien
|
Nein, ist kein Access die DB heißt Caché!
SOLLIST ist der Namespace, und darunter gibts die Tabellen Soll und Ist!
lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|
|
|
07.05.2003, 15:02
|
#4
|
|
TP-Veteran
Registriert seit: Jun 2001
Ort: Wien
|
Hab's schon! Die DB unterstützt kein FULL JOIN!
Das ist aber leider nur der halbe weg zur zufriedenheit!
Gibts eine alternative zu FULL ???
lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|
|
|
07.05.2003, 15:23
|
#5
|
|
TP-Insider
Registriert seit: May 2002
Ort: Colonia
|
Du könntest es mal mit Union probieren, da muss allerdings die Anzahl der Felder in beiden Tabellen identisch sein.
Warum machst Du keinen Inner Join?
__________________
Gruss freefonzo
"Ein Experte ist ein Mann, der hinterher genau sagen kann, warum seine Prognose nicht gestimmt hat."
Sir Winston Churchill
1. lesen || 2. suchen || 3. posten || 4. Traum Scripts einbauen || 5. So sehen also TP'ler aus ?
|
|
|
07.05.2003, 15:28
|
#6
|
|
TP-Veteran
Registriert seit: Jun 2001
Ort: Wien
|
Weil ich auch die Ergebnisse brauch die keinen gegenpart in der anderen Tabelle haben! Und zwar aus beiden Tabellen!
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|
|
|
07.05.2003, 16:38
|
#7
|
|
TP-Insider
Registriert seit: May 2002
Ort: Colonia
|
Dann solltest Du wirklich mal über Union nachdenken, denn die kriegste mit nem Full, so wie er in Deinem SQL Statement steht, auch nicht.
Full JOIN bedeutet, dass er alle Felder links und Rechts der gejointen Felder mit in die Abfrage einbezieht.
Korrigiert mich, wenn ich falsch liege...
__________________
Gruss freefonzo
"Ein Experte ist ein Mann, der hinterher genau sagen kann, warum seine Prognose nicht gestimmt hat."
Sir Winston Churchill
1. lesen || 2. suchen || 3. posten || 4. Traum Scripts einbauen || 5. So sehen also TP'ler aus ?
|
|
|
07.05.2003, 16:44
|
#8
|
|
TP-Veteran
Registriert seit: Jun 2001
Ort: Wien
|
Hab mir schon das mit dem UNION angeschaut!
Funktioniert bis jetzt ganz gut!
Ein paar kleine Schönheitsfehler hats noch aber ich bin gerade dabei diese zu beseitigen!
Ich meld mich nochmal wenn ich fertig bin!
Danke!
lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|
|
|
07.05.2003, 16:55
|
#9
|
|
TP-Insider
Registriert seit: May 2002
Ort: Colonia
|
Na dann viel Erfolg und bis später... 
__________________
Gruss freefonzo
"Ein Experte ist ein Mann, der hinterher genau sagen kann, warum seine Prognose nicht gestimmt hat."
Sir Winston Churchill
1. lesen || 2. suchen || 3. posten || 4. Traum Scripts einbauen || 5. So sehen also TP'ler aus ?
|
|
|
08.05.2003, 16:21
|
#10
|
|
TP-Veteran
Registriert seit: Jun 2001
Ort: Wien
|
Sitzt, passt, wackelt und hat luft!
Funktioniert!
lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|
|
|
|
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
|
|
|
| Themen-Optionen |
Thema durchsuchen |
|
|
|
| Thema bewerten |
|
|
Forumregeln
|
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.
HTML-Code ist aus.
|
|
|
Alle Zeitangaben in WEZ +2. Es ist jetzt 21:23 Uhr.
|
 |