Hey IFor,thank you for your help. The Keyword Pivot was that was I searchedCREATE TABLE #Customer ( id INT NOT NULL, LastName varchar(255), FirstName varchar(255), PRIMARY KEY (id))CREATE TABLE #Properties ( id INT NOT NULL, nameofproperty varchar(255), PRIMARY KEY (id))CREATE TABLE #Customer_Properties ( id INT NOT NULL, StringValue varchar(255), IntValue INT, id_customer INT, FOREIGN KEY (id_customer) REFERENCES #Customer(id) ON DELETE CASCADE, id_properties INT, FOREIGN KEY (id_properties) REFERENCES #Properties(id) ON DELETE CASCADE, PRIMARY KEY (id))INSERT INTO #Customer (id, LastName, FirstName)SELECT id, LastName, FirstNameFROM ( VALUES (0,'Klaus', 'Hagebuttentee' ) ,(1,'Peter', 'Sandmühle' ) ,(2,'Joachim', 'Allesfresser') ) val (id, LastName, FirstName)INSERT INTO #Properties (id, nameofproperty)SELECT id, nameofpropertyFROM ( VALUES (0,'email' ) ,(1,'phone' ) ) val (id, nameofproperty)INSERT INTO #Customer_Properties (id, StringValue, IntValue,id_customer,id_properties)SELECT id, StringValue, IntValue,id_customer,id_propertiesFROM ( VALUES (0,'klaus.hagebuttentee@irgendwas.com',0,0,0 ) ,(1,'',5123413,0,1 ) ,(2,'peter.sandmühle@irgendwas.com',0,1,0 ) ,(3,'joachim.allesfresser@irgendwas.com',0,2,0 ) ,(4,'',51235151,2,1 ) ) val (id, StringValue, IntValue,id_customer,id_properties)SELECT * FROM #Properties