MySQL Forums
Forum List  »  German

Bedeutung von UNIQUE_- und FOREIGN_KEY_CHECKS sowie SQL_MODE
Posted by: Sebastian Kahl
Date: March 04, 2010 09:10AM

Hallo,
ich habe meinen Quellcode mit MySQL workbench erstellt. Die folgenden Zeilen werden der Tabellenerstellung vorangestellt.

SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL';

Könnte mir jemand erklären, was sie bewirken?
Vielen Dank im Voraus, falls jemand helfen kann :-)

Options: ReplyQuote


Subject
Views
Written By
Posted
Bedeutung von UNIQUE_- und FOREIGN_KEY_CHECKS sowie SQL_MODE
2977
March 04, 2010 09:10AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.