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 einfachem SQL INSERT

Empfohlene Antworten

Hey Leute,

ich habe da ein Problem mit einem SQL Insert. Ich verstehe zwar die Fehlermeldung, ich finde den Fehler jedoch nicht.

SQL Server Fehlermeldung:

Meldung 110, Ebene 15, Status 1, Zeile 1

There are fewer columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.

Und das ist mein INSERT-Befehl:


INSERT INTO [Projektmanagement].[dbo].[Human_Resources]

           ([Mitarbeiter_ID]

           ,[Name]

           ,[Telefonnummer]

           ,[Zahlungseinheit]

           ,[Kosten_pro_Einheit])

     VALUES

           ( newID()

           ,'Manuel'

           ,'03459857'

           ,'Stunden'

           ,34,56);

Die MitarbeiterID ist vom Datentyp uniqueIdentifier, Kosten_pro_Einheit sind vom Datentyp money und der Rest ist varchar.

Ich bedanke mich schonmal im Voraus für eure Hilfe...

du hast 5 spalten und gibts 6 werte an.

das problem ist du willst wahrscheinlich 34,56 eintragen, da ',' aber das trennzeichen ist, geht das so nicht.

du musst 34.56 eintragen damit es wie gewünscht als 1 wert betrachtet wird.

Danke Leute, manchmal vergisst man echt die simpelsten Grunlagen:old

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.