-
Notifications
You must be signed in to change notification settings - Fork 58
Data Source Sql
Hendy Racher edited this page May 30, 2017
·
5 revisions
SQL examples using the Umbraco database:
SELECT id AS 'Key',
[text] AS 'Label'
FROM umbracoNode
WHERE nodeObjectType = '9B5416FB-E72F-45A9-A07B-5A9A2709CE43'
ORDER BY Label
SELECT id AS 'Key',
[text] AS 'Label'
FROM umbracoNode
WHERE nodeObjectType = '366E63B9-880F-4E13-A61C-98069B029728'
ORDER BY Label
SELECT id AS 'Key',
macroName AS 'Label'
FROM cmsMacro
ORDER BY Label
SELECT * FROM
(VALUES
('key1', 'label3'),
('key2', 'label3'),
('key3', 'label3')
) x([Key], Label)