Stored Procedures

Technical Article

RE: Outdated Statistics

  • Reply

if you have clustered indexes with not efficient fillfactor or without a fillfactor, that might also be the reason for slow running of your queries. As you had mentioned the update stats run every 4 hours. How much time does the update stats job take. If it not much maybe you can try to have […]

You rated this post out of 5. Change rating

2003-05-05

3 reads

SQLServerCentral Article

Creating a Script from a Stored Procedure

  • Article

Ryan demonstrates how he arrived at a solution that allows you to create scripts from a stored procedure using SQL-DMO. If you get interested in DMO, we've got quite a bit of additional content here on the site to help you get going! Ryan is a new author here on the site, please take a minute to read his article, add a comment, maybe just say hello.

5 (1)

You rated this post out of 5. Change rating

2003-05-02

16,912 reads

SQLServerCentral Article

How to Build Dynamic Stored Procedures

  • Article

Robert is our expert on dynamic sql. This week he offers some good hints for planning the contruction of a proc that will use dynamic sql. He also adds some suggestions on how to format the code so that when you return to it later, you can figure out what you were doing!

2.8 (5)

You rated this post out of 5. Change rating

2007-10-02 (first published: )

49,832 reads

SQLServerCentral Article

Dynamic SQL or Stored Procedure

  • Article

We've had a lot of coverage of dynamic sql (including another great one from Robert Marda later this week) but this one is a little different. Done in a question/answer format, Andy tries to explain to junior developers why dynamic sql is to be avoided, how to do so, what to do when you can't.

2.67 (3)

You rated this post out of 5. Change rating

2005-08-26 (first published: )

48,016 reads

SQLServerCentral Article

Logins, Users, and Roles - Getting Started

  • Article

Do you know the difference between a login and a user? What's the best way to add them; Enterprise Manager, T-SQL, or SQL-DMO? In this beginner level article Andy demonstrates how to use all three methods to add logins and users and offers his view of which is the best technique.

You rated this post out of 5. Change rating

2005-09-30 (first published: )

37,096 reads

SQLServerCentral Article

Worst Practice - Bad Comments

  • Article

This one is pretty interesting, Andy discusses a few things he sees in comments that not only fail to add value, they end up costing extra time. There's room for discussion here, but definitely a discussion worth having - comments can make you or break you, here's a chance to think about what you think is important in commenting and pass that on to your development team.

4 (2)

You rated this post out of 5. Change rating

2003-01-23

10,182 reads

SQLServerCentral Article

Default Values and Named Parameters for Stored Procs

  • Article

Are you using default values for your parameters? Using named parameters when you call the proc or passing the values by ordinal? Should you be? Andy thinks 6 out of 10 of our readers will agree with his point of view, we'll be a little more conservative and guess that 5 of out 10 will be closer.

5 (1)

You rated this post out of 5. Change rating

2003-01-08

8,198 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