Viewing 15 posts - 2,566 through 2,580 (of 3,008 total)
Sometimes you just have to step up and tell them you have a better plan. Most bosses would be grateful to have someone that keeps them from making a...
January 11, 2008 at 9:39 am
Another approach is to setup a new server, move the databases to that, and rename the new server to the old server name when you are ready. By restoring the...
January 11, 2008 at 9:14 am
I would recommend just adding another array to the system, create an new partition and format it, and then create new database files in the existing filegroups on the new...
January 11, 2008 at 9:06 am
This is really a hardware question about your particular hardware, not a SQL Server question.
That said, I have my doubts about it, and I wouldn’t want to try it on...
January 11, 2008 at 8:52 am
You can create a stored procedure with EXECUTE AS 'user' that creates the view, and grant them execute permission on the stored procedure. It would not be necessary to...
January 11, 2008 at 8:35 am
As Jeff said, you can guess, but the amount of time it takes is also dependant on the other activity on the system, especially activity on the table you are...
January 11, 2008 at 8:24 am
select
Replaced = replace(Mycol,'%','')
from
(
Select MyCol = 'XXX%BB%KKK'union all
Select MyCol = '%zzzKKK'union all
Select MyCol = 'XXXDDDBBKKK'
) a
where
a.MyCol like '%^%%' escape '^'
Results:
Replaced
----------------------
XXXBBKKK
zzzKKK
(2 row(s) affected)
January 10, 2008 at 3:49 pm
Jeff Moden (1/10/2008)
Heh... you didn't read the OP's request... he wants the total disk size as well. xp_FixedDrives does not provide that information. 😉
Not to mention that the OP...
January 10, 2008 at 3:42 pm
In your SQL Statement, did you specify the database where the stored procedure is located?
If not, it will execute in the context to your default database, which is usually master.
January 10, 2008 at 3:38 pm
Did you set the database context correctly?
January 10, 2008 at 3:20 pm
Jim Russell (1/10/2008)
"Each new query window creates it's own connection or "session" to the database."
From a...
January 10, 2008 at 2:05 pm
We are running a number of SQL Server instances on VMWare with no problems. Most are dev/test/QA systems, but we do have some production systems also, and we are...
January 10, 2008 at 10:27 am
You could at try to roll forward all the way to the end of the last log file, and then run DBCC CHECKDB to see if if there is any...
January 9, 2008 at 1:11 pm
You can get this information with the PSINFO utility available on the link below.
http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx
Sample command and output:
psinfo \\MyServerName -D disk
PsInfo v1.73 - Local and remote system information viewer
Copyright (C) 2001-2005...
January 9, 2008 at 9:21 am
Viewing 15 posts - 2,566 through 2,580 (of 3,008 total)