Viewing 15 posts - 31 through 45 (of 48 total)
I was on leave and today I tried to write a script on Network Discovery .
I tried by OSQL or SQLCMD to get the SQL Server List but it...
June 14, 2008 at 6:36 am
Tracey
I have started working on my free time . I will Post When Ever I will Complete.
Regards,
Raj
June 9, 2008 at 12:54 am
Execute
DBCC OPENTRAN
Findout is there any Oldest Transaction left out .
After that execute
DBCC INPUTBUFFER(@SPID)
or
fn_get_sql(sql_handle)
To know which query is it?
Find out the status & cmd of that spid from sysprocesses table.
Check...
June 6, 2008 at 6:32 am
Welcome,
Please give me a list, I will send you.
Regards,
raj
June 6, 2008 at 3:58 am
Thanks pduplessis
Regards,
Raj
June 6, 2008 at 2:53 am
Use the below DBCC command to see which are the Active VLF in Log file
and how many
USE DATABASENAME
GO
DBCC LOGINFO
Status 2 is active.
Also you can check is there any oldest transaction...
June 6, 2008 at 1:46 am
If its is SQL Server 2005 then you can find usage reports in Management Studion.
Otherwise you can use SQL Diag. Manager from Idera comes with 15 days Eval..
It will help...
June 6, 2008 at 1:27 am
Try to Use
sp_start_job
Try to findout more about it in book online
Regards,
Raj
June 6, 2008 at 1:22 am
Individual table backups can be done by below methods
Package
1. Script the structure of your table.
2. Make Package to export the data from the table
File And FileGroups
1. Create new Files and...
June 6, 2008 at 1:13 am
Lucky Man 😉
What Happened To The De Attacher ? :w00t:
Regards,
raj
June 5, 2008 at 7:47 am
Use The Below Code
exec sp_grantlogin N'BUILTIN\Administrators'
Regards,
Raj
June 5, 2008 at 7:44 am
Execute Below Code and post the result here
use databasename
go
sp_spaceused
select * from sysfiles
Regards,
Raj
June 5, 2008 at 7:19 am
Try To Execute the Below Code
DBCC LOG(MASTER,4)
Can you find any dbdestroy in description field.
Regards,
Raj
June 5, 2008 at 7:04 am
TRACEY
Thanks 🙂
For Size in MB and GB you can divide by 1024.
Disk.Size and Disk.FreeSpace.
Regards,
Raj
June 5, 2008 at 6:57 am
Create a vbs file in C; Drive named as disk.vbs
content are given below
Set DiskSet = GetObject("winmgmts:{impersonationLevel=impersonate}").ExecQuery("select FreeSpace,Size,Name from Win32_LogicalDisk where DriveType=3")
for each Disk in DiskSet
If (Disk.FreeSpace/Disk.Size) < 0.30 Then...
June 5, 2008 at 3:34 am
Viewing 15 posts - 31 through 45 (of 48 total)