Viewing 15 posts - 646 through 660 (of 1,993 total)
off the top of my head... are you using an ODBC DSN for connection (either a file or system DSN)? - maybe that's not configured correctly on live
MVDBA
November 22, 2019 at 1:35 pm
I use this script to kill all connections to a database - modify it to your hearts content
DECLARE @spid int
DECLARE @strsql NVARCHAR(100)
DECLARE curs1 CURSOR FOR SELECT spid...
MVDBA
November 22, 2019 at 10:50 am
sounds like maybe a dns error - these tend to happen occasionally
try running from the dos prompt "IPCONFIG /Flushdns"
if not then try adding a static record in you local hosts...
MVDBA
November 22, 2019 at 10:39 am
I think the clue might be in "login timeout expired" - normally you get that when a firewall or DNS issue stops you from resolving the server name… not normally...
MVDBA
November 22, 2019 at 10:34 am
November 22, 2019 at 10:12 am
I have a script
ALTER PROC [dbo].[p_copylatestbackup] @user VARCHAR(100)=NULL, @expireson DATE=NULL, @database VARCHAR(100)=NULL
AS
SET NOCOUNT ON
DECLARE @db VARCHAR(100)
DECLARE @filename VARCHAR(400)
DECLARE @str VARCHAR(1000)
DECLARE curs1 CURSOR FOR
SELECT x.database_name,x.physical_device_name FROM (
SELECT ...
MVDBA
November 22, 2019 at 8:44 am
I did think that was unusual, and it occurred to me that it doesn't fit well with enumerating files from NTFS - perhaps just save your backup as accounting.bak 🙂
MVDBA
November 21, 2019 at 4:27 pm
does the sql service account (or sql agent if you are doing it via a job) have permissions to that folder?
MVDBA
November 21, 2019 at 3:47 pm
Also, whistleblowers should be protected not denigrated.
I've been one twice - once for a major rail disaster caused by a failing in the design of track inspection software (by...
MVDBA
November 21, 2019 at 3:00 pm
there should be dozens of examples on codeproject
but I did find this
depending on what framework you are using the parameter bit will look a bit like (pseudo code here)
create connection
create...
MVDBA
November 21, 2019 at 2:54 pm
I use Redgate - it's not not very invasive on your server and it has a few really cool features , my favourite is that it looks at patterns of...
MVDBA
November 21, 2019 at 2:46 pm
I haven't heard of this problem! Can you post more about web apps getting compromised on an intranet?
edit: I would think if you had attackers get past the firewall...
MVDBA
November 21, 2019 at 2:28 pm
the only thing that I can advise is to check all indexes are in place on both servers (maybe one is missing) - then look at your server settings -look...
MVDBA
November 21, 2019 at 2:12 pm
if you delete data from a heap, the space might not be released and the pages remain allocated to the table, but unused
the problem gets worse, the more times you...
MVDBA
November 21, 2019 at 12:14 pm
Fair enough, these points I can accept. A good report designer needs to be bought for VS to make it usable for such purposes. Access doesn't do anything like...
MVDBA
November 21, 2019 at 10:51 am
Viewing 15 posts - 646 through 660 (of 1,993 total)