Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem bei Einschränkung

Empfohlene Antworten

Hallo zusammen,

es handelt sich um Oracle SQL

Folgendes Statement möchte ich einschränken:

Ltrim(Supplier_num,'0')supplier_num,

supplier_name_1,country_1,supplier_bank_1,

supplier_account_1,custom_1,supplier_strasse,supplier_plz,supplier_ort,

LTRIM(payment_code,'0') payment_code,

vatid,vatno,vategcod,fwaehrkz,mwstschl,fwaehrkz

from bw_imp_suppliers{v,DB_IFAI_LINK} where comp_no='1'

Hier werden mir verschiedene Supplier aus dem Vorsystem gezogen und in eine Datei abgelegt. Zwei Supplier sollen aber nicht in diese Datei geschrieben werden. Ich bekomms nicht hin :-(

Folgendes habe ich versucht:

Select comp_no,

Ltrim(Supplier_num,'0')supplier_num,

supplier_name_1,country_1,supplier_bank_1,

supplier_account_1,custom_1,supplier_strasse,supplier_plz,supplier_ort,

LTRIM(payment_code,'0') payment_code,

vatid,vatno,vategcod,fwaehrkz,mwstschl,fwaehrkz

from bw_imp_suppliers{v,DB_IFAI_LINK} where supplier_num <> '990531' OR supplier_num <> '990532'

In der Textdatei sollen die Supplier mit den Nummern

990531 und

990532 _nicht_ vorhanden sein.

Dank & Grüße

olli

... where supplier_num <> '990531' OR supplier_num <> '990532'

Moin,

das mus IMO heißen


where supplier_num <> '990531' [B][SIZE="5"]AND[/SIZE][/B] supplier_num <> '990532'

hth

Reinhold

Moin,

das mus IMO heißen


where supplier_num <> '990531' [B][SIZE="5"]AND[/SIZE][/B] supplier_num <> '990532'

hth Reinhold
...oder auch


where supplier_num NOT IN ( '990531' , '990532')


Gruss

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.