V_QUERY_JOBSKILL
This provides the ability to query all job skill fields.
Fields
Field | Field Type | Null | Description |
---|---|---|---|
ID | uniqueidentifier | System record ID | |
JOBID | uniqueidentifier | JOBID | |
SKILL_TRANSLATION | nvarchar(100) | yes | Skill |
SKILLLEVEL_TRANSLATION | nvarchar(25) | yes | Skill level |
ISREQUIRED | bit | Required | |
ADDEDBY_APPLICATION | nvarchar(200) | yes | Added by application |
ADDEDBY_USERNAME | nvarchar(128) | yes | Added by user name |
CHANGEDBY_APPLICATION | nvarchar(200) | yes | Changed by application |
CHANGEDBY_USERNAME | nvarchar(128) | yes | Changed by user name |
DATEADDED | datetime | Date added | |
DATECHANGED | datetime | Date changed | |
TSLONG | bigint | yes | Timestamp value |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 8/17/2011 2:35:29 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.91.1535.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE VIEW dbo.V_QUERY_JOBSKILL AS
select
JOBSKILL.ID,
JOBSKILL.JOBID,
(select VOLUNTEERSKILLCODE.DESCRIPTION from dbo.VOLUNTEERSKILLCODE where VOLUNTEERSKILLCODE.ID = JOBSKILL.SKILLCODEID) as [SKILL_TRANSLATION],
(select VOLUNTEERSKILLLEVEL.DESCRIPTION from dbo.VOLUNTEERSKILLLEVEL where VOLUNTEERSKILLLEVEL.ID = JOBSKILL.SKILLLEVELID) as [SKILLLEVEL_TRANSLATION],
JOBSKILL.ISREQUIRED,
[ADDEDBY].APPLICATIONNAME as [ADDEDBY_APPLICATION],
[ADDEDBY].USERNAME as [ADDEDBY_USERNAME],
[CHANGEDBY].APPLICATIONNAME as [CHANGEDBY_APPLICATION],
[CHANGEDBY].USERNAME as [CHANGEDBY_USERNAME],
JOBSKILL.DATEADDED,
JOBSKILL.DATECHANGED,
JOBSKILL.TSLONG
/*#EXTENSION*/
from dbo.JOBSKILL
left join dbo.CHANGEAGENT as [ADDEDBY] on [ADDEDBY].ID = JOBSKILL.ADDEDBYID
left join dbo.CHANGEAGENT as [CHANGEDBY] on [CHANGEDBY].ID = JOBSKILL.CHANGEDBYID