You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
2.2 KiB
29 lines
2.2 KiB
USE [Vertragsverwaltung_20160404]
|
|
GO
|
|
/****** Object: View [dbo].[Honoris_ne_300] Script Date: 02.12.2016 09:08:53 ******/
|
|
DROP VIEW [dbo].[Honoris_ne_300]
|
|
GO
|
|
/****** Object: View [dbo].[Honoris_ne_300] Script Date: 02.12.2016 09:08:55 ******/
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
|
|
|
|
|
|
CREATE VIEW [dbo].[Honoris_ne_300]
|
|
AS
|
|
SELECT dbo.Honoris_JOURNAL.DATUM, dbo.Honoris_JOURNAL.ANZAHLINT, dbo.Honoris_mitarbeiter.NAME, dbo.Honoris_mitarbeiter.VORNAME,
|
|
dbo.Honoris_PROJEKT.KURZNAME, dbo.Honoris_PROJEKT.BEZEICHNUNG, dbo.Honoris_mitarbeiter.MITARBEITER_ID, dbo.Honoris_JOURNAL.ERFDATUM,
|
|
dbo.Honoris_PROJEKT.PROJEKT_NR
|
|
FROM dbo.Honoris_JOURNAL INNER JOIN
|
|
dbo.Honoris_PROJEKT ON dbo.Honoris_JOURNAL.PROJEKT_NR = dbo.Honoris_PROJEKT.PROJEKT_NR INNER JOIN
|
|
dbo.Honoris_mitarbeiter ON dbo.Honoris_JOURNAL.MITARBEITER_NR = dbo.Honoris_mitarbeiter.MITARBEITER_NR
|
|
WHERE (dbo.Honoris_PROJEKT.PROJEKT_NR < 200) OR
|
|
(dbo.Honoris_PROJEKT.PROJEKT_NR > 399)
|
|
|
|
|
|
|
|
|
|
GO
|