From 6b63816738dd616105233e2bf037c9c156c6984a Mon Sep 17 00:00:00 2001 From: Ronny Wyss Date: Tue, 18 Dec 2018 16:17:24 +0100 Subject: [PATCH] =?UTF-8?q?View=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MySQL/Skript_DDL.sql | 2 ++ MySQL/Skript_POD_View.sql | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 MySQL/Skript_POD_View.sql diff --git a/MySQL/Skript_DDL.sql b/MySQL/Skript_DDL.sql index 37f0b80..779a2b2 100644 --- a/MySQL/Skript_DDL.sql +++ b/MySQL/Skript_DDL.sql @@ -1,3 +1,5 @@ +-- Test von ronny + DROP DATABASE IF EXISTS inventarisierungsloesung; CREATE DATABASE IF NOT EXISTS Inventarisierungsloesung diff --git a/MySQL/Skript_POD_View.sql b/MySQL/Skript_POD_View.sql new file mode 100644 index 0000000..b7173e6 --- /dev/null +++ b/MySQL/Skript_POD_View.sql @@ -0,0 +1,9 @@ +CREATE + ALGORITHM = UNDEFINED + DEFINER = `root`@`localhost` + SQL SECURITY DEFINER +VIEW `inventarisierungsloesung`.`v_usageperlocation` AS + SELECT + `inventarisierungsloesung`.`pointofdelivery`.`designation` AS `designation` + FROM + `inventarisierungsloesung`.`pointofdelivery` \ No newline at end of file