Viewing 15 posts - 511 through 525 (of 872 total)
Outside of SQL, you can use a free app called Textpad. Inside of SQL you can use sp_readerrorlog ... then you could dump it into a temp table with an...
July 3, 2008 at 11:34 am
Any assistance would be much appreciated.
Thanks
July 3, 2008 at 6:23 am
Any assistance would be much appreciated.
Thanks
July 3, 2008 at 6:23 am
Michael Valentine Jones (7/2/2008)
You can use the script on this link to get information on all databases on a server at the same time.Get Server Database File Information
Thanks, but not...
July 2, 2008 at 1:10 pm
GSquared (7/2/2008)
July 2, 2008 at 1:00 pm
GSquared (7/1/2008)
July 1, 2008 at 12:03 pm
I'm curious ... why are you against temp tables? If you're configured properly they will perform just as good as a real table and are (in my mind) much better...
July 1, 2008 at 8:25 am
Pam Ozer (6/27/2008)
June 27, 2008 at 2:02 pm
Data:
-- ***************************************************************************
-- nvarchar(4000) = dbo.fn_SQLServerDataDir()
-- ***************************************************************************
IF OBJECT_ID('SQLServerDataDir_fn','FN') IS NOT NULL
DROP FUNCTION SQLServerDataDir_fn
GO
create function dbo.SQLServerDataDir_fn()
returns nvarchar(4000)
as
begin
declare @rc int,
@dir nvarchar(4000)
exec @rc = master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE',N'Software\Microsoft\MSSQLServer\MSSQLServer',N'DefaultData', @dir output, 'no_output'
if (@dir is null)
begin
exec @rc...
June 27, 2008 at 1:39 pm
Does the account running SQL have access to this folder?
June 27, 2008 at 1:37 pm
lior (6/27/2008)
I started to look at my indexes and stats, and I admit I never really took the time to do it before. The stats haven't been updated in...
June 27, 2008 at 12:32 pm
You need to see the execution plan (it's right next to the stop sign in SSMS) to determine if you're seeking or scanning indexes or tables and then looking at...
June 27, 2008 at 11:42 am
Marcus Farrugia (6/27/2008)
Hi thanks for your help, if I repoint the location of my databases should I leave the master db on the server that sql is running on?
If you...
June 27, 2008 at 11:16 am
This can be done, but is HIGHLY not recommended ... I've done it myself in the past and ran into lots of issues.
In order to attach a remote database file,...
June 27, 2008 at 11:01 am
Have you analyzed the execution plan of this query? Are your indexes healthy? Are your statistics up to date?
June 27, 2008 at 10:57 am
Viewing 15 posts - 511 through 525 (of 872 total)