Last active
May 23, 2022 19:53
-
-
Save BrianMRO/be9ad997806d696cbdcb9bd76fae54e1 to your computer and use it in GitHub Desktop.
SQL Script - Get Default Mobile Site Map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* NOTE: Replace [2022R1] with the name of YOUR database */ | |
/* Right-Click the Table in MS SQL Server Mgmt Studio and select "Select Top 1000 Rows" */ | |
SELECT TOP (1000) [CompanyID] | |
,[ScreenID] | |
,[Script] | |
,[Type] | |
,[CompanyMask] | |
,[CreatedByID] | |
,[CreatedByScreenID] | |
,[CreatedDateTime] | |
,[LastModifiedByID] | |
,[LastModifiedByScreenID] | |
,[LastModifiedDateTime] | |
,[RecordSourceID] | |
FROM [2022R1].[dbo].[MobileSiteMap]; | |
/* Trim the script to just the Script column */ | |
SELECT TOP (1000) [Script] | |
FROM [2022R1].[dbo].[MobileSiteMap] | |
Where [CompanyID] = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Be sure to replace [2022R1] with the name of your own database!