Optimize

Technical Article

Index Breakdown

  • Script

Provides a robust breakdown of all indexes contained within a database allowing for quick analysis and identification of inefficient, redundant, unused, bloated, stale, and / or poorly architected indexes.

4.9 (30)

You rated this post out of 5. Change rating

2019-04-15 (first published: )

6,978 reads

Technical Article

RE: User permissions

  • Reply

Permissions are stored in the sysprotects system table in each database. The Action column defines what type of permission (SELECT/UPDATE/CREATE TABLE/etc) is being set. Read SQL BOL for more details about the columns, but basically you should be able to select from that table with a CASE statement to see what permissions are set.CREATE TABLE, […]

You rated this post out of 5. Change rating

2004-09-06

Technical Article

RE: How can I parse comma delimited string into columns

  • Reply

Hi!Thank you for trying!  But This isn't truly a comma delimited file (like a CSV).  The number of commas varies for each row and there's that slash mark in there that indicates the logical end of the record (not the physical end), so using DTS or Bulk Insert isn't an option.  I thought about that, […]

You rated this post out of 5. Change rating

2004-09-05

Technical Article

RE: scope_identity

  • Reply

It sounds as if the actual generation of the Identity is not in the scope of the call to SQL Server.  For example (since I know nothing of the structure of the interface) assume a call to a stored procedure that verifies data, then makes a call to a second SP to perform the actual […]

You rated this post out of 5. Change rating

2004-05-11

Technical Article

How could I copy several tables from one owner to other in the same database

  • Topic

How could I copy several tables from one owner to other in the same database ????? I have a database with around 150 tables with constraints checking several relationships, indexes, etc. (but without store procedures) I want to copy all of them to other owner (that I already have), in this case the destination owner […]

You rated this post out of 5. Change rating

2004-05-11

1 reads

Technical Article

join 3 tbls

  • Topic

I have a case like this:table a - has one filed with statusIDtable b - has one filed with statusIDc - status code tbl - statusID(int,4), status Decription (char, 20)When I want to pull the description for the statuses I have in "a" and "b" for a particular custID (they will be always different) I could use:select * from a […]

You rated this post out of 5. Change rating

2004-03-24

3 reads

Technical Article

One-Many Relationship Help

  • Topic

HiFor my project i am trying to create an online registering system. The users enter all of the required info through the form it is then handled on the server by asp scripts.I have to tables resident and householdresident table:----------------------------------------Personal_ID (PK) | Name | DOB | Household_ID Household table:----------------------------------------Household_ID (PK) | Address | Post Code The problem i […]

You rated this post out of 5. Change rating

2004-03-04

2 reads

Blogs

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...

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

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