maintenance

Technical Article

RE: to cursor or not to cursor

  • Reply

You can view a cursor like something that is based on a select statement. It is this select statement that populates the cursor.So, you may have a table that have some rows physically sorted by a clustered index from, say 1-10. However, to actually see these rows you must get them, and to get them […]

You rated this post out of 5. Change rating

2005-04-12

Technical Article

RE: newbee question aboutTempdb

  • Reply

The use of Tempdb depends on a lot of things: how heavely cursor, sorts, on-the-fly agregations are used, rollups, etc.  Also Tempdb is shared with all DB's and users, so as usual, it depends. IMHO this what you can do: set the log file to 500 MB, and set both to autogrow with 100 MB increments. Then […]

You rated this post out of 5. Change rating

2005-04-07

Technical Article

RE: Attach DB and Procedure Cache

  • Reply

When you execute sp_detach_db, the procedure cache is flushed for that database. This is probably due to DBCC DETACHDB() [which sp_detach_db wraps], though this command is undocumented. Edit: You can see this by watching syscacheobjects. I did so with the pubs db on a development sql server. Run a stored procedure, verify it's in the […]

You rated this post out of 5. Change rating

2005-03-31

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

Macromedia breeze

  • Topic

i cant start that program.guess something wrong with MS SQL server.2004-11-26 09:40:15 - ? [100] Microsoft SQLServerAgent version 8.00.760 (x86 unicode retail build) : Process ID 2004-11-26 09:40:15 - ? [100] Microsoft SQLServerAgent version 8.00.760 (x86 unicode retail build) : Process ID 2780 2004-11-26 09:40:15 - ? [101] SQL Server HERNGYIH version 8.00.760 (0 connection […]

You rated this post out of 5. Change rating

2004-11-28

8 reads

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