2025-03-18 16:19:37 +01:00

27 lines
1.3 KiB
Transact-SQL
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

UPDATE TBDD_MODULES SET DB_VERSION = '2.1.0.1' where UPPER(NAME) = UPPER('Clipboard-Watcher')
GO
ALTER VIEW [dbo].[VWCW_USER_PROFILE] AS
SELECT DISTINCT
T.GUID AS PROFIL_ID,
T.NAME AS PROFIL_NAME,
T.REGEX_EXPRESSION,
T.COMMENT,
T.ACTIVE,
T.PROFILE_TYPE,
T2.PROC_NAME,
T1.USER_ID,
USR.NAME AS USER_SURNAME,
USR.PRENAME AS USER_PRENAME,
USR.USERNAME
FROM TBCW_PROFILES T
INNER JOIN TBCW_USER_PROFILE T1 ON T.GUID = T1.PROFILE_ID
INNER JOIN TBDD_USER USR ON T1.USER_ID = USR.GUID
INNER JOIN TBCW_PROFILE_PROCESS T2 ON T.GUID = T2.PROFILE_ID
INNER JOIN TBCW_GROUP_PROFILE T3 ON T.GUID = T3.PROFILE_ID
WHERE T.ACTIVE = 1
GO