Login
Home
KB
Snippets
Current Articles
|
Archives
|
Search
SQL Scripts
NO Image:
20
How To Clear All Containers And Themes From Pages And Modules In DNN
posted on February 20, 2024 15:06
Clear all page level skins in a Portal update {databaseOwner}{objectQualifier}Tabs set skinsrc=null where SkinSrc is not null and PortalID=0 ...
[Read the rest of this article...]
Posted in:
DNN
,
SQL Scripts
Actions:
E-mail
|
Permalink
|
Comments (0)
01
SQL Function to Lookup DNN Profile Values
posted on February 01, 2021 15:20
CREATE FUNCTION GIBS_GetProfileElement ( @userID as int, @portalID as int, @ProfilePropertyName as nvarchar(100) ) RETURNS nvarchar(4000) AS BEGIN ...
[Read the rest of this article...]
Posted in:
DNN
,
SQL Scripts
,
Stored Procedures
Actions:
E-mail
|
Permalink
|
Comments (0)
23
Disable DNN Popup Windows
posted on September 23, 2020 06:19
UPDATE PortalSettings SET SettingValue = 'False' WHERE SettingName = 'EnablePopUps'
DNN Popup Windows
Posted in:
DNN
,
SQL Scripts
Actions:
E-mail
|
Permalink
|
Comments (0)
05
Remove any leading or following spaces as well as any carriage returns
posted on December 05, 2018 08:05
UPDATE YourTable SET YourColumn = RTRIM(LTRIM(REPLACE(REPLACE(YourColumn, CHAR(10), ''), CHAR(13), '')))
Posted in:
SQL Scripts
Actions:
E-mail
|
Permalink
|
Comments (0)
20
Update NBrightBuy Image Path when upgrading from V2
posted on December 20, 2016 06:08
-- Used this great tool (https://github.com/FabioParigi/NBrightBuyMigrate ) but ran into a problem with images -- Create a SP to verify the old string...
[Read the rest of this article...]
Posted in:
SQL Scripts
Actions:
E-mail
|
Permalink
|
Comments (0)
23
Order By Domain Name from Email Address
posted on April 23, 2016 05:09
SELECT UserID, Username, FirstName, LastName, IsSuperUser, AffiliateId, Email, DisplayName, UpdatePassword, ...
[Read the rest of this article...]
DNN Users
Posted in:
DNN
,
SQL Scripts
Actions:
E-mail
|
Permalink
|
Comments (0)
16
DNN Region Lookup
posted on February 16, 2016 06:20
(SELECT [Value] FROM Lists where EntryID = (SELECT PropertyValue FROM UserProfile WHERE UserId = U.UserId AND PropertyDefinitionID = (SELECT P...
[Read the rest of this article...]
DNN Region Lookup
Posted in:
DNN
,
Microsoft SQL Server
,
SQL Scripts
,
SQL Server 2008 R2
Actions:
E-mail
|
Permalink
|
Comments (0)
04
SQL DNN Get User Profile with Region Lookup
posted on January 04, 2016 06:13
Declare @PortalId int; Set @PortalId = 0; SELECT 'OwnerFirstName' = U.FirstName, 'OwnerLastName' = U.LastName, 'OwnerEmail' = U.Email , (SEL...
[Read the rest of this article...]
DNN Region Lookup SQL
Posted in:
DNN
,
SQL Scripts
Actions:
E-mail
|
Permalink
|
Comments (0)
15
Pivot Query for Ventrian Property Agent
posted on December 15, 2014 08:22
I had a need for getting a property details for a SSR report and came up with the following store procedure . . . I thought it might be useful t...
[Read the rest of this article...]
Ventrian Property Agent
Posted in:
Modules
,
Custom Modules
,
Microsoft SQL Server
,
SQL Scripts
,
SQL Server 2008 R2
,
Stored Procedures
Actions:
E-mail
|
Permalink
|
Comments (0)
16
Replace Null or Empty Value with String
posted on September 16, 2014 06:28
Select ISNULL(NULLIF(GIBS_FBLineItems.ReportType, ''), '--Undefined--') as ReportType from GIBS_FBLineItems
SQL
Posted in:
SQL Scripts
,
SQL Server 2008 R2
,
Stored Procedures
Actions:
E-mail
|
Permalink
|
Comments (0)
Page 1 of 2
First
Previous
[1]
2
Next
Last