Archived Months
January 2003
March 2003
April 2003
May 2003
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
April 2008
all groups > sql server programming > november 2004 > threads for saturday november 13

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

DBCC DEFRAGINDEX
Posted by Mike Labosh at 11/13/2004 10:15:06 PM
I have completed a gigantor import batch (migration project) of several dozen Access databases to SQL Server to the tune of about 12 gigs via 83 DTS Packages. I want to store a backup point that's *real tight* since I am doing all my dev work on a little mousy laptop [friggen corporate americ...more >>


how best to implement this update
Posted by Jesse Drogin at 11/13/2004 9:23:08 PM
I need help implementing the follow procedure. I need to process all the rows in my table. I am guessing that I should use a CURSOR to do this, but I have never used one before and could use help getting started. Below is the problem I need help solving. I have a data table, "purchases",...more >>

Sum Up the duration.
Posted by BlueFlat at 11/13/2004 9:08:02 PM
I want to create the stored procedure for sum up a column, the column is a varchar field, the format is [hh:mm:ss]. the sum up function is: calculate the total of the duration, for example: column =========== 01:04:03 03:59:03 I need to get the final result as 05:03:06 my plan is conver...more >>

Query Optimizer
Posted by Leila at 11/13/2004 3:58:36 PM
Hi, I have been given a database without any index to tune its indexes and SPs(Let's say MyDB1). I made a copy of MyDB1 and attached it as MyDB2 to create indexes in that and compare the results with SPs in MyDB1. For a particular query (a LEFT JOIN), the execution plan showed that a table scan...more >>

Date Sproc
Posted by Smitty at 11/13/2004 2:15:38 PM
I need to alter a stored procedure so that it just pulls the records of items revised in the last 15 days. This iswhat I have to work with... SELECT Companies.CompanyName AS Company, ProgramsListing.Manager AS [Account Mgr], CONVERT(char(10), ProgramsListing.RevisedDate...more >>

transaction help,microsoft.public.inetserver.asp.general(cross)
Posted by Savas Ates at 11/13/2004 1:21:41 PM
im using 2 stored procedure in my asp application... in my asp page i execute 2 stored .. their works depend on each other... i want to apply a transaction on these... must i apply it in stored procedure or in asp page.. any example or any link... can u help me about transactions.. i dont ...more >>

PAGEIOLATCH_SH
Posted by Ringo at 11/13/2004 9:22:49 AM
How is it possible for one process to have this lock when it is the only process accessing the disk - not even any other threads on the same process. My table has 90 million rows so perhaps this is normal (Raid 5)? Or is it a sign that something is wrong with the disk? TIA, Ringo...more >>

Locking question
Posted by Ringo at 11/13/2004 9:15:11 AM
I have a query on a single table. That table is 90 million rows. I am the only user on the system. In the current activity window, I see a lot of LATCH_EX, PAGEIOLATCH_SH and CXPACKET locks. Is this due to parallelism problems - should I use the maxdop(1) option? TIA, Ringo...more >>



dbcc dbreindex question
Posted by Ringo at 11/13/2004 7:46:36 AM
does dbcc dbreindex reset the statistics, or do you have to run sp_updatestats? Also, will procs automatically be recompiled, or do you need sp_recompile? TIA, Ringo...more >>

Catching SQL requests by newly developed service
Posted by Alexey Absaliamov at 11/13/2004 3:02:02 AM
Hello, Could anyone tell me if the following is possible and if yes, then which technologies (SDK, etc.) should we use for this? We have a application that we must use, but have no source codes left. This application uses MSDE/MS SQL to store and retrieve the information. It uses it wi...more >>


DevelopmentNow Blog