Viewing 15 posts - 61 through 75 (of 97 total)
Similar to what I posted yesterday:
-- ENABLE XP_CMDSHELL
SP_CONFIGURE 'XP_CMDSHELL', 1
RECONFIGURE WITH OVERRIDE
GO
SET NOCOUNT ON;
DECLARE
@FILENAME VARCHAR(200)
, @BCPCOMMAND ...
July 28, 2015 at 9:39 am
I used google and found this link:
http://www.sqlteam.com/article/exporting-data-programatically-with-bcp-and-xp_cmdshell
And put this together:
-- ENABLE XP_CMDSHELL
SP_CONFIGURE 'XP_CMDSHELL', 1
RECONFIGURE WITH OVERRIDE
GO
SET NOCOUNT ON;
DECLARE @FILENAME VARCHAR(50)
, @BCPCOMMAND VARCHAR(2000)
, @SERVER_NAME SYSNAME =...
July 27, 2015 at 9:50 am
Apart from the network issue, which needs to be investigated, how big is the log file and what are the VLF counts on it?
This would also contribute to your recovery...
July 27, 2015 at 5:00 am
what are the other queries doing at this point in time? runnable means its ready to go.. but something else might be holding it back, that is not related to...
July 22, 2015 at 8:02 am
Hey,
What do the errors in your Application log say?
You mention SQL is struggling to find a path specified?
Where did you want tempdb to be created and are the...
July 22, 2015 at 2:52 am
How have you configured your listener?
-- server A
CREATE ENDPOINT VLAN
STATE = STARTED
AS TCP(
LISTENER_PORT = 5022
LISTENER_IP = (10.3.230.10)
)
FOR DATABASE_MIRRORING (
AUTHENTICATION...
July 17, 2015 at 7:02 am
Alias will work, in conjunction with DNS entry.
DNS: old servername
Alias: old servername\instance
server: new server
port: whatever port your instance is listening on.
July 16, 2015 at 6:57 am
Have you got the transaction sequence number?
You can browse SQL RELP CMDS and see what the row is that is trying to be inserted and either delete it from the...
July 16, 2015 at 6:34 am
Yip, you will be asked to reinitialize if you make any changes to the publisher properties.
You can also look at including a script to run after a reinitialize.
or, change the...
July 16, 2015 at 5:38 am
Hey,
Try this:
USE [master]
GO
RESTORE DATABASE [Vehicles_new] FROM DISK = N'C:\backup\vehicles_old.bak'
WITH FILE = 1
, MOVE N'Vehicles_old' TO N'C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\Vehicles_new.mdf'
, MOVE N'Vehicles_old_log' TO N'C:\Program Files\Microsoft...
July 15, 2015 at 8:28 am
Search for a tool called RSScripter.
This will script your reports out for you and deploy them to the new server
July 15, 2015 at 7:12 am
-- use publishing_db
-- GO
select a.name, b.type_desc
from sysarticles a
inner join sys.objects b on a.objid = b.object_id
July 14, 2015 at 6:34 am
Also think about how the original cluster design will behave if there is a failure?
How are you going to configure your resources per instance if its on a shared node?
Are...
July 14, 2015 at 6:27 am
Do you have a firewall between the servers?
Maybe allow the ports on them.
July 6, 2015 at 7:26 am
Nope, if your SQL browser is running and you have enabled TCP/IP for SQL server protocols and set them to listen to all.. you should be fine, without port number.
July 6, 2015 at 7:25 am
Viewing 15 posts - 61 through 75 (of 97 total)