2017-08-30 2 views
0

Guten Morgen,

ich die folgende Fehlermeldung erhalten:

errordetail: string 400 Bad Request

filecontent:

string {"message": "Abfragekoordinatorfehler: query.soql.no-so-Spalte; Keine solche Spalte: T; Position: Karte (Zeile -> 1, Spalte -> 1020, Zeile -> \" SELECT physician_profile_id, physician_profile_first_name , physician_profile_middle_name, physician_profile_last_name, physician_profile_suffix, physician_profile_alternate_first_name, physician_profile_alternate_middle_name, physician_profile_alternate_last_name, physician_profile_alternate_suffix, physician_profile_address_line_1, physician_profile_address_line_2, physician_profile_city, physician_profile_state, physician_profile_zipcode, physician_profile_country_name, physician_profile_province_name, physician_profile_primary_specialty, physician_profile_ops_taxonomy_1, physician_profile_ops_taxonomy_2, physician_profile_ops_taxonomy_3, physician_profile_ops_taxonomy_4, physician_profile_ops_taxonomy_5, physician_profile_license_state_code_1, physician_profile_license_state_code_2, physician_profile_license_state_code_3, physician_profile_license_state_code_4, physician_profile_license_state_code_5WHERE starts_with (physician_profile_first_name, A) UND physician_profile_city = 'KNOXVILLE' UND physician_profile_last_name = 'ADAM S 'UND physician_profile_state =' TN 'LIMIT 10}

Was ich versuche zu tun ist ziehen Ärzte mit dem Nachnamen Adams, erste Initial von A, die in Knoxville, TN sind. UND 'article_profile_first_name' = 'A' wäre falsch. Irgendwelche Vorschläge? Ich schreibe dies in Cold Fusion mit CFHTTP GET, nur für den Fall, dass das hilft.

Danke, CL

Antwort

0

Basierend auf der Fehlermeldung in der Paste gezeigt (No such column) Sie verweisen eine Spalte, die nicht in Ihrer Abfrage nicht existiert. Überprüfen Sie die Feldnamen in Ihrer Abfrage mit denen in der Datenmenge, um sicherzustellen, dass sie alle gültig sind.

+0

Ja, weil versucht wird, die $ where-Klausel zu verwenden. Ich bin nicht in der Lage herauszufinden, wie man sonst Instanzen findet, wo der Vorname mit dem Buchstaben A beginnt. – CLindy