View

Technical Article

RE: help with a query

  • Reply

Hmm.. I don't know, Remi... it seems they have their own business logic, with months absolutely independent on real calendar maybe setting things right would create confusion.If we suppose that you don't want to (or can't) change anything, try this:SELECT Q.city_code, Q.outlet_code, SUM(Q.sold0104), SUM(Q.sold0508),SUM(Q.sold0913),SUM(Q.sold1417),SUM(Q.sold1821) FROM (select [city_code], [outlet_code], CASE WHEN issue BETWEEN 1 AND 4 […]

You rated this post out of 5. Change rating

2005-04-28

Technical Article

RE: Curious Locking

  • Reply

Thanks for that..had a look.The execution plans were identical.I tried varying the indexes on this table. One index in particular was dropped and it cured the problem....the query now runs in about 5 minutes instead of an hour. Funny thing is the same indexes exists on a similar test system and that runs ok??Thanks again..Graeme

You rated this post out of 5. Change rating

2005-03-11

Technical Article

Validating Stored Procedure results

  • Topic

Does anyone know a way to validate the results of a stored procedure?  I have a routine that checks for updates to procedures and validates the format of the data returned but the only way I can do that is to dump the results to a temp table.  I can't insert into a temp table […]

You rated this post out of 5. Change rating

2004-11-12

1 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