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.

Empfohlene Antworten

Veröffentlicht

Hallo Leuz..

kann mir jemand von euch sagen, wie man einen Spaltentyp in einem MSSQL Server 5 Stellig macht ??

Ich möchte den Primärschlußel einer Tabelle der auf Auto und Int steht 5 Stellig machen.

Das heisst, es soll nicht 0 sonder 00000 stehnen.

Gruß und Dank Andy_mann

Hallo andy_mann,

das wirst Du mit einem numerischen Datentyp nicht hinbekommen. Egal ob Integer, Decimal, Float ... aus 00000 wird immer 0.

Du kannst höchstens die aufsetzende Programmlogik anpassen ... also 0 in eine Zeichenkette ala 00000 umwandeln ... oder gleich den Datentyp des Attributs ändern von Int in Char(5).

Hoffe Dir damit weitergeholfen zu haben.

Viele Grüße aus Oldenburg & schönén Abend noch,

Jan

Du kannst doch Acces nicht mit einer Datenbank vergleichen!

Access ist doch in wirklichkeit nur Frontend-Single-User-Tabellen-Anzeiger.

MS SQL dagegen ist eine richtige Datenbank, die sich für die Ausgabe der Daten letztendlich nicht interessiert.

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.