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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
|