Viewing 15 posts - 106 through 120 (of 206 total)
roy.tollison (3/17/2008)
master & detail
select * from detail
where date >= :start_date and date <= :end_date and
status <> 'Successful'
select * from master
where Client not in (select client from detail
where...
March 17, 2008 at 2:12 pm
That will only show you what SQL Server is doing during that time. You should also schedule a Performance Monitor session to run during that time. Spcifically capture the Process:%ProcessorTime/All...
March 17, 2008 at 12:15 pm
Have you confirmed that the SQL account backing up to the network drive has sufficient privileges to write to that drive?
DAB
March 17, 2008 at 10:06 am
Trevor, first, check out the perfmon counter for sql server:general statistics:logins/sec counter. btw, this can also be found in the sys.perfinfo table. Then check out the following article:
March 13, 2008 at 8:36 pm
Yes, it's called the HAVING clause...
SELECT COUNT(*) AS total
,last_name
,first_name
FROM account_contact
WHERE account_id = '11997'
...
March 13, 2008 at 3:15 pm
Equal is an exact match while greater than or less than is a ranged match. Without looking at the query plan my guess is that the EQUALS operation just performs...
March 13, 2008 at 9:33 am
Matt's correct, why the function? If that column does contain an index then it will not be used. Simply put, the function will use all rows in the column (a...
March 13, 2008 at 9:23 am
jamiejulius (3/12/2008)
March 12, 2008 at 8:47 pm
There are 2 differences between SELECT INTO and INSERT INTO...
SELECT INTO only works for if the inserted table does not exist. INSERT INTO works if the inserted table already exists.
DAB
March 12, 2008 at 8:38 pm
Try Kalen Delaney's
Inside SQL Server 2005
and Ken Henderson (rest his soul) Guru's series
DAB
March 12, 2008 at 8:34 pm
Also check out the Upgrade Advisor at http://www.microsoft.com/downloads/details.aspx?FamilyID=1470e86b-7e05-4322-a677-95ab44f12d75&displaylang=en
DAB
March 12, 2008 at 8:28 pm
Mark has the best solution with sp_spaceused. Just beware if your database has multiple schemas. It will return schema-less results. For example
exec sp_spaceused 'dbo.summarydata'
exec sp_spaceused 'test.summarydata'
returns the following results...
name...
March 12, 2008 at 8:26 pm
Viewing 15 posts - 106 through 120 (of 206 total)