Viewing 15 posts - 1,321 through 1,335 (of 1,412 total)
Just execute an ALTER DATABASE staement, like this:
ALTER DATABASE databasename
SET SINGLE_USER
There can't be any users logged on to the database in order for you to execute this statement, but...
October 7, 2002 at 1:18 am
quote:
There is some prilimnary work going on with documentation and should begin in mid september.
As...
October 2, 2002 at 6:14 am
EXEC sp_spaceused 'TABLENAME'
Chris Hedgate @ Apptus Technologies (http://www.apptus.se)
October 2, 2002 at 1:30 am
My guess is that this has to do with how Excel names it's 'tables', SQL just use the name that Excel recommends. Naming the tables manually would solve the problem.
Chris...
October 1, 2002 at 2:38 am
Use COALESCE or ISNULL, like this:
COALESCE(a.company,0)
or
ISNULL(a.company,0)
This way, if the value in the column is NULL then 0 will be used for the comparison.
Chris Hedgate @ Apptus Technologies (http://www.apptus.se)
October 1, 2002 at 2:33 am
This is probably caused by the optimizer deciding that a clustered index scan checking each rows value in c2 will be as quick as first going to the non-clustered index...
September 27, 2002 at 1:45 am
Clive, you said there where no indexes on the table. I guess that includes clustered index, i.e. there was not a clustered index on the table. If so, did the...
September 24, 2002 at 1:26 am
quote:
By giving db_ddladmin are there any security implications?
Definately, that means the user is able to...
September 24, 2002 at 1:19 am
Either use the SQL Server 2000 Setup and choose uninstall, or use Add/Remove Programs in Control Panel.
Chris Hedgate @ Apptus Technologies (http://www.apptus.se)
September 24, 2002 at 1:14 am
quote:
This is because product number 965004876 has the largest stock and order volume.
OK, so then...
September 24, 2002 at 1:08 am
Thanks for the input guys.
Scott: Yes, they result in the exact same behaviour and execution plan. SQL uses the best index available to it.
Greg: Absolutely, the fastest way of getting...
September 23, 2002 at 8:33 am
Store your data in a nvarchar column instead of a varchar. That should do the trick for you.
Chris Hedgate @ Apptus Technologies (http://www.apptus.se)
September 23, 2002 at 2:59 am
I'm not entirely certain how to translate the business req. "largest stock and order volume", but I chose to translate it to A_STK + A_ORD. If that's correct, then maybe...
September 23, 2002 at 2:56 am
Depends on how you are trying to do this. If you're using ADO to insert it into a table or something, check this KB out:
http://support.microsoft.com/support/kb/articles/Q258/0/38.asp
Also, if you're just doing it...
September 20, 2002 at 1:54 am
quote:
What are DBCC commands?
DBCC CHECKDB for instance checks your database for allocation and consistency errors.
Are...
September 19, 2002 at 7:35 am
Viewing 15 posts - 1,321 through 1,335 (of 1,412 total)