Viewing 15 posts - 1 through 15 (of 25 total)
You can find big table(s) (http://www.mitchelsellers.com/blogs/articletype/articleview/articleid/121/determing-sql-server-table-size.aspx ... modify script for system objects also).
December 19, 2011 at 12:45 pm
SQL Server 2005
select physical_memory_in_bytes,virtual_memory_in_bytes from sys.dm_os_sys_info
February 25, 2011 at 3:34 am
Try this http://support.microsoft.com/kb/955496%5B/url%5D
If you want change the SQL Server service account, use "SQL Server Configuration Manager".
February 25, 2011 at 3:03 am
Lowell (1/23/2011)
January 23, 2011 at 10:54 am
sravanthiyerramreddy86 (1/12/2011)
Hi all,Can any one help me out how to find instance name of sqlserver using registery query.
Thanks in advance.
Try modify this code (this visual basic script reads the SQL...
January 12, 2011 at 2:45 pm
Steve Jones - SSC Editor (1/12/2011)
nekonecny (1/12/2011)
s.CustodianID and s.FundAccountantID and s.BrokerID are probably integer.You cannot compare between integer and varchar.
You can compare integer and varchar in some cases. An implicit...
January 12, 2011 at 2:15 pm
s.CustodianID and s.FundAccountantID and s.BrokerID are probably integer.
You cannot compare between integer and varchar.
January 12, 2011 at 1:40 pm
Elliott Whitlow (1/10/2011)
nekonecny (1/10/2011)
I need only one row (top 1), if i use "EXISTS". Is Optimizer so clever to eliminate other potential rows?:-)
Yes, it is.. An EXISTS check completes...
January 10, 2011 at 1:51 pm
It is not nice, but it can be fast.
IF @ContactType = 'Broker'
Begin
SELECT DISTINCT
c.ContactID,
c.ContactName,
c.PhoneNum,
c.Fax,
c.PersonalEmailAddress,
c.CompanyPhoneNum,
c.GroupEmailAddress,
c.Address1,
c.Address2,
c.Address3,
c.Address4,
c.City,
c.State,
c.Zip,
c.CountryCode
FROM
tblDCF_SubAccounts...
January 10, 2011 at 1:42 pm
I need only one row (top 1), if i use "EXISTS". Is Optimizer so clever to eliminate other potential rows?:-)
January 10, 2011 at 1:00 pm
Try some indexes. 3 millions records... it is small table for partitioning.
January 5, 2011 at 2:05 am
You need monitor executing sp_purge_jobhistory like this:
declare @dt datetime
select @dt = getdate()-30
EXEC msdb.dbo.sp_purge_jobhistory @oldest_date=@dt
January 4, 2011 at 6:47 am
Alternative method: save this code as filename.vbs and run as cscript filename.vbs
[p]
'*****code *****[/p]
[p]strComputer = "."[/p]
[p]strStr = ""[/p]
[p]Set objWMIService = GetObject( _[/p]
[p] "winmgmts:\\" & strComputer & "\root\CIMV2") [/p]
[p]Set...
January 3, 2011 at 1:03 pm
Viewing 15 posts - 1 through 15 (of 25 total)