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.

Spalten umbennen in SQL

Empfohlene Antworten

Hallo Leute,

ich bin mir ein wenig unsicher... Ist das der folgende Befehl zum umbennenen von einer Spalte in SQL, im speziellen MS-SQL 7?

ALTER TABLE tabellenname MODIFY spalte, CHANGE spalte_neu;

Danke & Gruß

oscha

Ich wuerde mal bahupten, dass deine Version nicht funktioniert, obwohl ich das fuer den SQL Server Version 7 nicht ganz ausschliessen kann. :)

Ich wuerde dir normal zur Prozedur sp_rename raten, aber ich hab keine Ahnung, ob es die in der Version 7 auch schon gab.

Goos

wie würde da die syntax lauten?

Also, sollte dein Google kaputt sein: Mein Google hat folgende Antwort ausgespuckt:

ALTER TABLE `tabellenname` CHANGE `alter_spaltenname` `neuer_spaltenname`;

Edit: Das bezieht sich jetzt auf allgemeines SQL. Ich kenne mich nicht mit MS-SQL aus. Könnte sein, dass die ihr eigenes Süppchen kochen. Jedenfalls wäre es nicht das erste mal.

merci,

mein google hat das auch schon ausgespuckt.. (ist wohl nicht kaputt ;))

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.