Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.
Your profile
Tag cloud
.net android asp.net asp.net mvc azure backup bigdata book business intelligence c# community continuous delivery database denali excel functions gotcha how to howto indexing java mongodb nancy nhibernate nosql performance powershell security silverlight sql sql advent 2012 sql friday sql server sql server 2000 sql server 2005 sql server 2008 sql server 2008 r2 sql server 2012 sql server denali ssis ssms ssrs structuremap syndicated t-sql tip unit testing vb.net visual studio 2010 windows 7
Authors
- SQLDenis (585)

- Christiaan Baes (chrissie1) (528)

- Ted Krueger (onpnt) (332)

- Jes Schultz Borland (grrlgeek) (140)

- Eli Weinstock-Herman (tarwn) (117)

- Alex Ullrich (51)

- George Mastros (gmmastros) (46)

- Koen Verbeeck (31)

- Naomi Nosonovsky (27)

- Axel Achten (axel8s) (23)

- David Forck (thirster42) (22)

- Kevin Conan (18)

- chopstik (18)

- Rob Earl (14)

- thatrickguy (12)

- More...
Main Categories
Search
Google Ads
Tags: functions
TRY_CONVERT in SQL Server Denali CTP3
TRY_CONVERT is a new function in SQL Server Denali CTP3, TRY_CONVERT enables you to test if a value can be converted to a specific data type, TRY_CONVERT returns a value cast to the specified data type if the cast succeeds; otherwise, TRY_CONVERT…
Format function in SQL Server Denali CTP3
SQL Server Denali CTP3 brings a couple of new functions, one of these is the FORMAT function The syntax of the format function looks like this FORMAT ( value, format [, culture ] ) Here is what Books On Line has to say about the arguments that…
Concat function in SQL Server Denali CTP3
SQL Server Denali CTP3 brings a couple of new functions, one of these is the CONCAT function. The CONCAT function returns a string that is the result of concatenating two or more string values. The syntax of the CONCAT function looks like this CO…
DATEFROMPARTS and DATETIMEFROMPARTS functions in SQL Server Denali CTP3
Function Syntax Return value Return data type DATEFROMPARTS…
A Quick look at the new EOMONTH function in SQL Server Denali CTP3
SQL Server Denali CTP3 has a bunch of new date/time functions like DATEFROMPARTS, DATETIMEFROMPARTS and EOMONTH First let's take a look at EOMONTH. The syntax for EOMONTH is EOMONTH ( start_date [, month_to_add ] ) If you pass in getdate()…
A Quick look at the new IIF function in Denali CTP3
Denali CTP3 comes with the IIF function, if you have used VB or Excel then you already know how this function works. In essence this function is a shorter version of a CASE statement. The syntax is as follows IIF ( boolean_expression, true_value,…
Use the GROUPING function to determine whether a value is NULL because of ROLLUP
If you have been writing queries that use ROLLUP, you are probably aware that the aggregated rows return NULL for the column that you are grouping by. What if you already have a NULL value in that column, how can you know which row is the aggregated row…
T-SQL To find Out If An Index Is Clustered Or Non Clustered
I saw this question in in Google Analytics from a Google search that hit our site.
So, how can you determice if an index is clustered or not? There are two ways, you can use either the INDEXPROPERTY function or the sysindexes/sys.sysindexes system table/view
To see how it works we will create a table with one clustered and one non clustered index on it
Here is the code for that
Use INDEXKEY_PROPERTY in SQL Server to determine if columns in indexes are sorted ascending or descending
How can you find out if the columns that are part of the index are sorted descending or ascending in that index? For example when you create the following index
Replace Your Case When Then Else Syntax With the Sign Function In SQL Server
If you want to show a 1 when there is a value for something in the column and 0 if none of the rows have that values you typically do something like this
:: Next >>

LTD Social Sitings
Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.