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 > july 2005 > threads for saturday july 30

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 31

Query Tuning.
Posted by Sagar at 7/30/2005 12:11:13 PM
Hi, I have the following query which takes 12- 15 seconds to return almost 900,000 rows. I would like the query to return in less than 4 seconds (1-3). I have added indexes where needed but was not successful. I am wondering if this query can be rewritten in anyway to respond in lesser t...more >>

Table Creation Text
Posted by Zachary Hartnett at 7/30/2005 11:59:11 AM
I know how to get the text for various database objects (like stored procedures) using sp_helptext or through direct access to the syscomments table. One thing I have not been able to find is the text associated with creating a table. Are programs that dynamically display create and alter t...more >>

Slow Stored Procedure when run via ado, fast from query analyzer
Posted by barooz at 7/30/2005 4:51:40 AM
Greetings folks. I've got a stored procedure reading data from the database that runs in about 2 seconds from query analyzer, and takes 50+ seconds run from ADO in asp classic. I'm using SQLOLEDB. I'm totally baffled, any ideas what I could check? I'm getting the 50+ seconds time from Sql...more >>

Is there such thing as cross-table index or something?
Posted by Rich at 7/30/2005 1:43:35 AM
CREATE TABLE [SalesForecast] ( [SaleDate] [datetime] NOT NULL , [CustID] [varchar] (10) NOT NULL , [F1] [money] NOT NULL ) ON [PRIMARY] CREATE TABLE [Sales] ( [SaleDate] [datetime] NOT NULL , [CustID] [varchar] (10) NOT NULL , [S1] [money] NOT NULL ) ON [PRIMARY] CREATE NONCLUS...more >>

ANSI-Style Joins & Old-Style Joins!
Posted by Arpan at 7/30/2005 1:38:32 AM
I came across an article which states the differences between ANSI-style JOINs & old-style JOINs. This was one among them: ---------------------------------------------- The ANSI-style JOIN supports query constructions which the old-style JOIN syntax does not support. ------------------------...more >>

how to write a query to get list of user-defined types
Posted by at 7/30/2005 12:00:00 AM
I wanted to write a select query that returns a list of user-defined types only (without returning the system types). In other words, I can't just do "select * from systypes". Does anyone know if this can be done? ...more >>

Full join problem...
Posted by tw at 7/30/2005 12:00:00 AM
Hi, My scenario is that i do a full join for check after duplicates name with the difference function. The problem is that i want to set a group value for each probably duplicates. After that i can set a distinct or something. Help. Here are the result i want to get help with (gro...more >>

Question
Posted by Bpk. Adi Wira Kusuma at 7/30/2005 12:00:00 AM
I ever hear that visual can visual foxpro programming can connect with SQL Server 2000. Really? Can you give me its simple script? ...more >>




DevelopmentNow Blog