Viewing 15 posts - 8,416 through 8,430 (of 13,460 total)
ok, run this to find the current recovery interval setting:
USE master;
GO
EXEC sp_configure 'show advanced option', '1';
RECONFIGURE;
EXEC sp_configure;
USE master;
GO
if needed, lets set the interval to a shorter time
--The following example sets...
November 17, 2010 at 11:49 am
I doubt very much the issue is CHECKPOINT not running.
I'll bet your database is set to Recovery Mode = FULL, and you are not taking regular transaction log backups, so...
November 17, 2010 at 11:28 am
don't you just need to compare the convert of the column to itself to see if they are not equal to find items that are not in range?
something like
select...
November 16, 2010 at 7:09 pm
there is a project on codeplex to help do this kind of thing in either direction; i downloaded it but did not test it yet, but it might help you...
November 16, 2010 at 12:50 pm
so, do the calulation from stratchpad2 every time, but items in sp4 are only sometimes there...
like this?: (new calculation for "specminutes")
SELECT
name,
employeenumber,
summinutes,
sum(summinutes/60) as...
November 16, 2010 at 12:09 pm
Steve Jones - SSC Editor (11/16/2010)
You can set the IPs in the SQL Server Configuration Manager that SQL Server listens on. In the network protocol section.
I *think* the OP is...
November 16, 2010 at 11:26 am
there's an inner join in your query, which would limit the data to only the employee's that exist in BOTH tables...is that what the problem is?
...
inner join scratchpad4
on scratchpad2.employeenumber =...
November 16, 2010 at 11:14 am
dates have to be encased is single quotes, as they are not a number.
instead of this:
<= 01/31/2011
--change to this for example
<= '01/31/2011'
change it everywhere you had date strings.
November 16, 2010 at 10:10 am
this command seems to be working for me to return results on a per-db basis...is that what you wanted?
sp_msforeachdb
'select ''?'' as dbname,*
from sys.dm_db_index_usage_stats
where database_id = db_id(''?'')'
November 16, 2010 at 10:02 am
help us help you...when i read your question, i think the question is "when i profile my procedure, it never finishes. when i just run it, it is fast"
is that...
November 16, 2010 at 7:48 am
in 2005 and above, there is a DMV that has the IP address, but note it's possible the value ls '<localhost>' or null if they connected via shared pipes.
...
November 16, 2010 at 6:42 am
wow, so even if you were to drop the table itself in the original database, the space will not be recovered? is that right?
November 15, 2010 at 2:36 pm
no, removing ad hoc will not affect your replication.
in 2008, it's a right click with the SSMS object explorer on the server and go to "facets": disable these two items...
November 15, 2010 at 9:50 am
could you be trying to connect with a lower version of SSMS, for example the Express Version that comes with Advanced Services?
That limited, express version does not let you connect...
November 15, 2010 at 9:00 am
not without something keeping track of those references;
object dependancies are limited to exist inside a database...that way if you backup and restore, everything your object referenced are together.
because multiple databases...
November 15, 2010 at 7:13 am
Viewing 15 posts - 8,416 through 8,430 (of 13,460 total)