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 2006 > threads for saturday november 4

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

Implications of having no clustered indexes on a table?
Posted by Jim Underwood at 11/4/2006 9:27:09 PM
I have a large table, approximately 16 million rows and 6 GB. Currently the table has one clustered index (for searching) on two columns and one non clustered index (PK). This table is part of a reporting database and is accessed by only one query, always using the same column (the clustered i...more >>


Storing Binary Data in SQL 2005 : Can SQL Compress automatically?
Posted by Russell Mangel at 11/4/2006 2:44:41 PM
I am considering storing binary files in SQL 2005. Most of the files (.doc, .xls, .txt, .html) files could easily be compressed using a compression algorithm like ZIP. Can SQL Server store this binary data in a compressed format automatically, so the database does not get so large? What ...more >>

ROWCOUNT as Output Parameter
Posted by Sandy at 11/4/2006 11:33:01 AM
Hello - I have the following stored procedure and I'm trying to get the rowcount: Create Procedure [dbo].[spLoansAllSearchDate] @SearchFrom datetime, @SearchTo datetime, @RowCount int OUTPUT As Select l.LoanID, l.ApplicationNo, l.ApplicantName, l.DateOfAction, <blah, blah, blah>...more >>

Getting Index/PK or Unique Keys information - INFORMATION_SCHEMA
Posted by mehdi_mousavi at 11/4/2006 11:10:17 AM
Hi folks, Is there anyway to detect whether a given column in a table is indexed? (by indexed, I do mean that the designer has chosen a field to be "Primary Key", "Unique Key" or "Index"? For example, I could use the INFORMATION_SCHEMA to get some information about a table, however, it does not...more >>

Security Group Members
Posted by wnfisba at 11/4/2006 6:45:01 AM
Is there any way that you can see the members of a certaing SQL Security Group??? Is there SQL to do this??? Thanks in advance......more >>

Query problem
Posted by J at 11/4/2006 5:32:08 AM
Hi, I have SQL 2000. I run the query: Select Field1, Field2, Field1 / Field2 * 100 as [Answer] From Table1 ....(Field1 =37 and Field2 = 50 and are Int datatype) SQL Server returns 0 as the [Answer] Is something wrong with my query or has anyone else had this problem? Thanks in a...more >>

arithmetic problem!
Posted by mehdi_mousavi at 11/4/2006 5:19:08 AM
Hi folks, Consider the following sql: DECLARE @temp INT; SET @temp = 2147483647 DECLARE @res INT; SET @res = @temp * 2 as soon as the above sql is executed, the following error occurs: Msg 8115, Level 16, State 2, Line 3 Arithmetic overflow error converting expression to data type int....more >>

Beginner Problem with GROUP by
Posted by Dundee at 11/4/2006 1:04:15 AM
Hi, I'm a beginner with ASP but I know PHP. This works: "SELECT samAccountName FROM table GROUP BY samAccountName;" But this not: "SELECT samAccountName,cn,field1,field2 FROM log GROUP BY samAccountName;" Microsoft JET Database Engine error '80040e21' You tried to execute a query tha...more >>




DevelopmentNow Blog