Query Plans

External Article

DMVs for Query Plan Metadata

  • Article

Before you can tackle any performance issues with a working database, you need to know which queries to work on first: The ones that are taking the most time in total, and which are the most expensive in terms of cache, CPU and disk. Although SQL Server Management Studio can help, it isn't long before you need an armoury of DMVs to provide you the statistics to find the culprits.

2010-09-02

3,298 reads

Technical Article

RE: UDF in computed column of Temp table fails

  • Reply

it seems you cannot reference a udf in a computed col from any other database not just tempdb. You would have to create the function in tempdb. i.e - this does not work either:use pubs gocreate function udf_isblank(@n varchar(20) = null, @ret varchar(20)) returns varchar(20)as begindeclare @null int set @null =  case when isnull(@n,'') = […]

2005-04-15

Technical Article

RE: Converting Float to decimal(5,1)

  • Reply

The use of float aside, I think there is a problem with your statement.If you are converting numeric(5,1) to float then you will get either an exact value or an approximation with a lot of decimal digits. The problem you stated with 100.1 is not a problem as 100.1 in a numeric(5,1) will be converted […]

2005-03-08

Blogs

Enabling an Index: #SQLNewBlogger

By

I don’t do a lot of work with disabled index, but I learned how...

Back to Boston for SQL Saturday

By

I’m leaving again tomorrow for a trip. This time I head back to Boston...

T-SQL Tuesday #179: What’s In Your Data Detective Toolkit?

By

Most of us who work with data have, at least a few times, been...

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