Indexing

Technical Article

Replication PreScreen for proper Primary Keys

  • Script

THIS TABLE WILL HODL YOUR TABLENAME AND UP TO THREE KEY COLUMNS FOR CREATING YOUR PRIMARY KEYSTHE OTHER COLUMNS ARE USED IN PROCESSING THE KEY'S AND GENERATING THE ALTER TABLE ASTATEMENTS TOCREATE THE PRIMARY KEYS FOR YOUR DB. THIS TOOL IS HANDY FOR PREPPING FOR A REPLICATION STRATEGY TO HELP YOU QUICKLY INDENTIFY IF YOU […]

You rated this post out of 5. Change rating

2005-08-03 (first published: )

361 reads

Technical Article

Index Information with column name in whole databs

  • Script

Through this script we can fetch on regular index information with whole database. Here i am use temporary tebale concept show no procedure so its run quickly and also fetch information from production database in uptime. No sytem generate index information not send me.

You rated this post out of 5. Change rating

2005-08-09 (first published: )

192 reads

Technical Article

Finding All Index Info for Small Databases

  • Script

This is a simple script which would list sp_helpindex information for all the tables in the database. You dont have to provide any table name or anything. Just run it on the database from which you want to retrieve the information.This is helpful when you have several servers running the same form of DB, and […]

You rated this post out of 5. Change rating

2005-08-10 (first published: )

187 reads

Technical Article

Generate Quick Snapshot of table structures.

  • Script

I use this script to quickly compare databases. In the past, I would generate creation scripts and compare those but that is tedious at best. This script generates a report of the metadata in an easy to read format that includes...- Table and Field Listing with types.- Foreign Key information- Primary Key and Index information- […]

5 (1)

You rated this post out of 5. Change rating

2005-07-28 (first published: )

576 reads

Technical Article

move all indexes to a secondary file group

  • Script

Move all (or chosen) standard indexes from your primary file group to a secondary file group (hopefully located on a seperate array)excludes clustered indexes, statistics and indexes associated with a primary keywhen you run it - set the debug to 1 to identify what the script will move, set it to 0 to actually perform […]

4.67 (3)

You rated this post out of 5. Change rating

2006-06-19 (first published: )

5,270 reads

Technical Article

RS Internal Error !

  • Topic

I use Reporting Services to provide my users with parameterised reports specific to their department.  I have set up a simple system whereby all users have access to all reports (no custom roles).  Windows authentication is used for report access and I have a windows group with appropriate rights assigned to browser role.Now here's the […]

2005-05-29

6 reads

Technical Article

RE: help with date parameters

  • Reply

This is the result set it presented and I don't understand....  I am running a summary on activity for the year...my columns being the different activities and the months - the timeframe  I'm not sure what this is....1 D  June 1 D  August 6 D  November 30 D  December 2 P  June 32 P  July 1 PK June 1 PK July 2 PK August 3 PK November 3 PK December 2 U […]

2005-05-25

Blogs

SQL Saturday Boston 2024 Slides

By

Thanks to everyone that came to my talks. Slides are below. Best Practices for...

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers