Viewing 15 posts - 646 through 660 (of 1,999 total)
I don't think anyone can give you a good answer unless we have your table definition and a copy of the query that you think needs these indexes . even...
November 22, 2019 at 4:15 pm
i'm not sure if this helps - but it does give you links for DB2 ODBC drivers
November 22, 2019 at 4:07 pm
I've seen this on the owner column when a user account has been removed - so have you upgraded recently (or restored from a different version) - maybe sp_helpdb doesn't...
November 22, 2019 at 3:47 pm
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...
November 22, 2019 at 3:34 pm
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
Viewing 15 posts - 646 through 660 (of 1,999 total)