URL: https://www.overclockers.at/coding-stuff/dringend_sql_tabellen_umbenennen_25131/page_1 - zur Vollversion wechseln!
wie kann i per sql statement bei aner ibase db tabellen umbenennen??
es is wirklich dringend thx
alter table <name> rename to <neuername>
geht net
rename gibts net .....
oder kann ma zumindest wer sagn, wie ich die daten von einer tabelle in a andere kopier..
tab aufbau:
Code:CREATE TABLE DEPT ( DEPTNO SMALLINT NOT NULL, DNAME VARCHAR(14), LOC VARCHAR(13), PRIMARY KEY (DEPTNO) );
funktionierts nämlich net.. fehlermeldung: Violation of PRIMARY or UNIQUE KEY constraint "INTEG_40" on table "DEPT"Code:insert into DEPT select * from SCOTT_DEPT
was fuer sql?
also was fuer db?
Zitat von funkawas fuer sql?
also was fuer db?
rename table <old name> to <new name>
des muß 100pro gehen!
Zitat von Vir@srename table <old name> to <new name>
des muß 100pro gehen!
g0t phpMyAdmin?
Zitat von manalishiexakt. das is sql pur und DARF nicht vom servertyp abhängig sein
mfG
Zitat von MarS919g0t phpMyAdmin?
Aua, sorry.
hm... was gibts noch für möglichkeiten...
sp_rename EMP, emp_new
?
Zitat von noledgehm... was gibts noch für möglichkeiten...
sp_rename EMP, emp_new
?
Zitat von skawarsrtf post!
SQL und net mySQL..
des mit rename haut net hin..
siehe screenshot
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025