Number of words within a phrase function

Most word count functions/procedures are based on some form of looping methods. If the table is large or there is a need to count the words in a number of columns, this can become quite an exercise. This function, based on a mathematical model, will work much faster and more efficient in counting the words […]

2005-12-28 (first published: )

263 reads

Table Pivoting revisited

A lot of table pivoting scripts use cursors to reach the  desired results, but SQL scripting was developed to be utilized in a data set environment rather than sequential step-thru scripting.Normally, there are 3 types of Table Pivoting - 1) column explicit 2) column implicit and 3)single column.  COLUMN EXPLICIT will place the row value […]

2003-05-29

409 reads

Table structure in 8 x 11 w/size, rows & indexes

Using the sp_help to get a table structure is very cumbersome.  First, in order to print it you have to use"Results in Text" not "Results in Grid".  Second, the results are very wide screen-wise and very hard to read or print.  Third, you do not get the size or number rows with the same request.This […]

5 (1)

2002-10-28

177 reads

Blogs

CRM Data Source Connection Error

By

This article takes us to the edge with a couple of CRM related errors...

SSAS Tabular – Process Add memory consumption

By

For me it’s a bit surprising how little information can be found regarding the...

Our SQL Server 2019 Administration Inside Out Fun Author Survey

By

SQL Server 2019 Administration Inside Out Honored again to be leading the talented SQL Server...

Read the latest Blogs

Forums

SQLCMD Variables

By Steve Jones - SSC Editor

Comments posted to this topic are about the item SQLCMD Variables

How to create dynamic sql based on optional values from temp ?

By ahmed_elbarbary.2010

I have #TempMaster temp table have 3 fields with optional values on 3 fields...

connection timeout on a previously established connection

By Syed_SQLDBA

I have been seeing this in the error log file but can't seem to...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers