Indexing

Technical Article

RE: Problem with Stored Procedure

  • Reply

<quote>I did pass on your suggestion about a profile trace to our systems engineer, but who knows if he will act on it, unfortunately.</quote>That's not good. You #need# to know where the bottleneck is! Try proving that everything else is ok - network speed, web server response etc.Certainly  you should be getting a response in under a […]

You rated this post out of 5. Change rating

2004-09-22

Technical Article

Defragment all table indecies

  • Script

To help maintain index quality, defragging of any given index is a good thing. This will defrag ALL indecies in the current DB. NOTE: Schedule for off-hours operations. For a massive re-write of indecies, change the remarking on "--IF @indid" lines to use reindex instead of just defragging.

You rated this post out of 5. Change rating

2004-09-21

561 reads

Technical Article

RE: Problem w/temporary tables in Stored Procedure accessed by SSRS

  • Reply

Newbie here!!I am currently evaluating SSRS for our company use as opposed to CR, and am very impressd by what I have seen thus far, and will be demonstrating it to the IT folks sometime in the next week or so.I have also had the same problems using SProcs as datasets, and was interested in […]

You rated this post out of 5. Change rating

2004-09-12

2 reads

Technical Article

Help with CASE

  • Topic

I have written the following CASE statement for SQL7 which works fine but I would like to add the "year" on the expression2. Is there a way, could you advise?SELECT year(BillingDate)+ "Calendar Month" = ---- this option1 does not work or CASE   WHEN DATEPART(month, BillingDate) = 1 THEN "January" +DATEPART(year, BillingDate)----this option2 does not work either […]

You rated this post out of 5. Change rating

2004-09-11

4 reads

Technical Article

RE: Updating a BIG table - with a twist

  • Reply

The solution I gave will update 14 million records since it is in the while loop (140 iterations of 100,000 records).  However, the "first" 14 million records can not be guaranteed since there is no primary key.  It would all depend on how SQL would return the data to you.If I may ask, how are you […]

You rated this post out of 5. Change rating

2004-09-10

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