Technical Article

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: )

267 reads

Technical Article

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

412 reads

Technical Article

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

181 reads

Blogs

Storage Field Day 23 – HammerSpace

By

I am thrilled to have been a part of this year’s Storage Field Day...

Daily Coping 16 May 2022

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Why You (usually) Want a Clustered Index

By

Note: I originally wrote this a few years ago but never posted it. It...

Read the latest Blogs

Forums

Migration of Data from one Database to Multiple Databases

By vamshi.sql

Hello, I have a requirement to migrate the data from existing AWS RDS DB...

AWS Beginner questions

By cariebens

I'm having some trouble wrapping my head around the relationship between EC2 instances and...

How to get weekly and Monthly view from daily in sql server

By Krish319

Hello All, I have a table like below. I need to get daily,weekly and...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers