Login
Home
KB
Snippets
Current Articles
|
Archives
|
Search
Entries for 'SQL'
08
SQL Timeout on Custom DNN module
posted on October 08, 2014 15:33
Try running . . . . exec sp_updatestats;
SQL
,
DNN
Posted in:
DNN
,
Microsoft SQL Server
,
SQL Server 2008 R2
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)
05
Alter Table - Setting a Column Default Value
posted on December 05, 2012 04:36
ALTER TABLE MyTableName ADD CONSTRAINT DF_MyTableName DEFAULT GETDATE() FOR MyColumnName
SQL
,
Alter Table
Posted in:
SQL Scripts
Actions:
E-mail
|
Permalink
|
Comments (0)
07
SQL Linked Server Error
posted on October 07, 2011 07:01
http://support.microsoft.com/kb/839279
[Read the rest of this article...]
SQL
,
Network DTC Access
Posted in:
Microsoft SQL Server
Actions:
E-mail
|
Permalink
|
Comments (0)
12
Formatting a Short Date in SQL using Convert Function
posted on August 12, 2011 11:26
To format a short date like MM/DD/YY try the following: select CONVERT(VARCHAR(8), GETDATE(), 1) as MyShortDate For a complete guide to ...
[Read the rest of this article...]
SQL
,
Date
,
Convert
Posted in:
SQL Scripts
Actions:
E-mail
|
Permalink
|
Comments (0)
30
SQL SPLIT Function
posted on April 30, 2010 05:15
Add the helper SPLIT function to your database CREATE FUNCTION dbo.Split ( @List nvarchar(2000), @SplitOn nvarchar(5) ) RETURNS @RtnValue ...
[Read the rest of this article...]
SQL
,
FUNCTION
Posted in:
Microsoft SQL Server
Actions:
E-mail
|
Permalink
|
Comments (0)