Advertisement
simonradev

Employees with Job Titles

Sep 12th, 2017
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.22 KB | None | 0 0
  1. CREATE VIEW V_EmployeeNameJobTitle AS
  2.     SELECT FirstName +
  3.            ' ' +
  4.            CASE
  5.             WHEN MiddleName IS NULL THEN ''
  6.             ELSE MiddleName + ' '
  7.            END +
  8.            LastName AS [Full Name],
  9.            JobTitle
  10.     FROM Employees
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement