Viewing 15 posts - 1,366 through 1,380 (of 5,394 total)
Mirroring is HA, replication is data distribution.
In P2P replication you have no primary/secondary or principal/mirror relationship between nodes.
I highly discourage that approach.
I would focus on the main problem: rebuilding indexes.
Why...
October 25, 2013 at 3:05 am
Jeffrey Williams 3188 (10/24/2013)
You cannot just execute sp_start_job - because all that does is starts the job and doesn't wait for the job to actually complete.
You're right. Peter Larsson (swePeso)...
October 24, 2013 at 2:47 pm
Some other options:
1. Create a SSIS package using the Fuzzy Lookup Transformation[/url]
2. Normalize your address data using online services such as Bing Maps[/url]
October 24, 2013 at 10:43 am
Powershell will do the trick:
sl c:$qry = "
SELECT DISTINCT d.logical_volume_name
,d.volume_mount_point
,CAST(d.total_bytes / 1024 / 1024.0 AS INT) AS TotalMB
,CAST(d.available_bytes / 1024 / 1024.0 AS INT) AS FreeMB
FROM sys.master_files f
CROSS APPLY sys.dm_os_volume_stats(f.database_id,...
October 24, 2013 at 8:59 am
If you're on 2008R2 or 2012 you can use sys.dm_os_volume_stats to query disk information.
It would look something like this:
SELECT DISTINCT d.logical_volume_name
,d.volume_mount_point
,CAST(d.total_bytes / 1024 / 1024.0 AS INT) AS TotalMB
,CAST(d.available_bytes /...
October 24, 2013 at 8:08 am
You can find a description of SQL Server installation paths here:
http://technet.microsoft.com/en-us/library/ms143547(v=sql.90).aspx
October 24, 2013 at 7:35 am
Luis's suggestion is quite good, but please keep in mind that you won't get the exact sequence of the statements that way.
For instance, you won't get parameteres for parameterized queries.
If...
October 24, 2013 at 4:51 am
Add a powershell step to the job on server A that connects to server B and runs sp_start_job.
The powershell script would look similar to this:
Invoke-sqlcmd -ServerInstance "serverB" -Query "EXEC msdb.dbo.sp_start_job...
October 24, 2013 at 4:44 am
A couple of thoughts:
1. Your trigger is not safe, as it assumes only one row is processed at a time.
IF (SELECT LEFT(IDDOC,3) FROM INSERTED) <> 'CPX'
This will break horribly when...
October 24, 2013 at 4:34 am
You can't do that directly from SQL Server, nor I think that would be a good idea.
You need a thrid-party app (and a GSM modem, which I wouldn't plug to...
October 24, 2013 at 4:21 am
You don't need to do anything different from what you would do with a physical server.
September 4, 2013 at 4:34 am
Thanks for your help.
I understand the reason of this restriction, but it makes using impersonation a bit impractical.
I think that my only option is to keep using SQL Authentication and...
July 25, 2013 at 9:45 am
Timothy, thanks for your feedback.
I must admit I phrased it with rhetorical tautologies in mind and you're 100% right in your correction.
June 24, 2013 at 1:35 am
Paul, your answers could be collected in a book and it would be an absolute best-seller!
Awesome, as usual.
June 24, 2013 at 1:32 am
Viewing 15 posts - 1,366 through 1,380 (of 5,394 total)