Query Optimizer

External Article

Statistics on Ascending Columns

  • Article

It comes as rather a shock to find out that one of the commonest circumstances in an OLTP database, an ascending primary key with most querying on the latest records, can throw the judgement of the Query Optimiser to the extent that perfomance nose-dives. Fabiano Amorim once again dons snorkel and goggles to explore the murky depths of execution plans to find out why.

2011-09-16

2,528 reads

External Article

The SQL Server Query Optimizer

  • Article

To understand how to write SQL code for SQL Server that performs well, it is important to appreciate how the query optimizer works. Ben Nevarez explains the essentials, in a broad sweep through a complex subject, in an article taken from his new book 'Inside the SQL Server Query Optimizer'.

2011-09-09

4,876 reads

Technical Article

"Ghost" column

  • Topic

Hi!Using my trusted login (it has sa privileges) I created new column (bit, allow NULLs) for a table.  After that only me can see it and only with EM, even after reconnecting to the server.  There is no any records for this column in syscolumns table.Wonder what had happen!?!Thanks.  

You rated this post out of 5. Change rating

2004-09-20

22 reads

Technical Article

RE: Unauthorized attempts to login

  • Reply

OK. If we change SQL port 1433 to something else(how to choose what the new port should be?)then I suspect we need to change all our database connection strings in all our applications.I've never done this before - to specify port number in your database connection string. We have a couple of Cold Fusion applications, […]

2004-06-11

Technical Article

RE: T-SQL Experts - Can this SP be recoded to work as a UDF

  • Reply

I took Jack's code, modified it with the changes suggested by Antares and I get this:Create FUNCTION dbo.udf_GetEMpsBYManager ( @empid char(6) ) RETURNS @table_variable TABLE (employeeid char(6), sn varchar(15), givenname varchar(25), mail varchar(50) ) AS BEGINDeclare @temp Table (employeeid char(6)) Declare @rows IntInsert Into @temp   Select Distinct employeeid   From directory   Where higmanagerempid […]

You rated this post out of 5. Change rating

2004-03-22

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