Viewing 15 posts - 646 through 660 (of 1,995 total)
I don't think it'd a good idea to have more than one log file for a database:
https://www.sqlskills.com/blogs/paul/multiple-log-files-and-why-theyre-bad/
there's one exception - your log file grows stupidly big and you...
November 22, 2019 at 2:12 pm
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
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...
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...
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...
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 ...
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 🙂
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?
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...
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...
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...
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...
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...
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...
November 21, 2019 at 12:14 pm
Viewing 15 posts - 646 through 660 (of 1,995 total)