Viewing 13 posts - 91 through 103 (of 103 total)
Does this work with 2000? Me thinks not. The question should be devclared invalid as it did not make specific mention of 2005 and looking at the responses a...
December 2, 2007 at 7:38 pm
There are two options here.
select distinct field1, field2
from table
or
select field1, field2
from table
group by field1, field2
Option 1 is the better for performance if you have a large table
September 20, 2007 at 12:41 am
I think you all have it right. Acess must be removed. But my reasoning is slightly different. The biggest problem I have come across over the past 10 or more years...
August 12, 2007 at 11:18 pm
Hi,
I've used the trial version of ERWin for the same thing. A very nice tool to generate ER digrams on exisiting SQL Server database.
Mark
June 28, 2004 at 6:25 pm
Ooops, forgot to remove the drop database part at the end of the statement. Please don't forget to do it if you use the script.
May 14, 2004 at 12:34 am
Hi,
Here is the script I use to kill all users attached to a DB.
Declare @DatabaseName varchar(50)
Set @DatabaseName = 'YOURDBNAME'
--Cursor for all the spids running against this database
DECLARE SysProc CURSOR...
May 14, 2004 at 12:33 am
There are some great articles on this posted on the site.
http://www.sqlservercentral.com/articles/articleList.asp?categoryid=72
I'm in a similar boat as you. I have decided not to get certified, but I am still going...
May 13, 2004 at 12:03 am
Hi,
Personally I like to use spaces so that other developers can see the code layed out in the manner that I selected. Changing to spaces means all code will line...
April 13, 2004 at 12:29 am
Joyce,
We found on one of our servers (a dell Poweredge very similar to yours, dual Xeon and 2GB of RAM) that everything performed at its best when we restriced SQL...
September 7, 2003 at 10:58 pm
Here's a script that we have used successfully for over 3 years to keill users and drop the database. After this step runs in the job we run a...
July 2, 2003 at 4:41 pm
Void,
Could you please make the post. We are running about 6 installations of SQLServer and use 1 mailbox only for all emails from SQL. Our sysadmin team are...
May 8, 2003 at 7:51 pm
Is SQL configured to use all of the server memory? If so drop it down so the OS can grab some, that worked really well here. We have...
April 11, 2003 at 12:54 am
Viewing 13 posts - 91 through 103 (of 103 total)