Viewing 15 posts - 2,236 through 2,250 (of 2,339 total)
Wow. I started a war.
Do all of you realize that you are saying the same things, but in different contexts?
Security is not something simple, and to do it correctly...
March 26, 2013 at 6:56 am
I stand corrected.
BUT I also stand by the statement because unfortunately poor security seems to be the norm. It seems as if DBA's are so busy with everything else that...
March 21, 2013 at 3:44 am
Glad to help!
Good luck!!!
March 20, 2013 at 3:36 pm
1. Take the call to xp_cmdshell out of the SP.
2. In the SP, test for the condition that would trigger the call to the batch file.
...
March 20, 2013 at 2:02 pm
This is probably one of the "worst practices" in a trigger.
For starters, you need to elevate secutity.
Secondly, the amount of overhead that occurs with each Insert/update/delete is...
March 20, 2013 at 11:37 am
Becasue of this, and other situations that may be out of my hands, I never set up any SQL jobs to run at the top or bottom of an hour....
March 12, 2013 at 10:27 am
Have you looked at the Options in SSMS? Under "Tools", "Options", "Query Results", "Results to Text" what is "Maximum number of characters displayed in each column" set to? It...
March 6, 2013 at 8:00 am
Do you know why dropping and recreating makes things go faster, and they gradually slow down?
Do you have maintenance that updates statistics, and reindexes, if needed?
Plus, if the code within...
February 21, 2013 at 1:21 pm
bdloving 4446 (2/21/2013)
drop the indexestry a simple select top 10 * from table
rebuild the indexes
or
export, drop and rebuild the table
Don't do this! This is certainly not a first...
February 21, 2013 at 1:07 pm
To change directions a bit, I am facing these same issues in the system I am working on. There are a number of places in the UI where the...
February 8, 2013 at 12:02 pm
Handy, but it throws an error on a bit field because you cannot perform a min or max on them
February 5, 2013 at 1:59 pm
I just bought a Subaru Outback 2 months ago. In 35 years of driving, this is the best vehicle I have ever owned.
I get 25 MPG running around, about...
January 21, 2013 at 1:26 pm
After going through these same hoops, I simply created a stored procedure on the report server called usp_StartJobFromRemoteServer
This takes a job name or id as a parameter, and calls sp_start_job.
December 28, 2012 at 8:05 pm
Remove this from the where clause and see if you still get a scan:
AND coalesce(txSubtype,'') <> 'BACKORDER'
Then, do a search on this site for SARGABLE.
December 13, 2012 at 7:52 am
Does this work?
UPDATE TBP
SET TBP.[Quantity_Remaining] = TBP.[Quantity_Remaining] - 1
FROM INSERTED I
INNER JOIN [tblTransactions] TT ON I.[Transaction_Number] = TT.[Transaction_Number]
INNER JOIN [tblBulkPurchases] TBP ON TT.[Transaction_Number] = TBP.[Transaction_Number]
WHERE TT.Transaction_Type = 'From Bulk...
October 17, 2012 at 1:29 pm
Viewing 15 posts - 2,236 through 2,250 (of 2,339 total)