Viewing 15 posts - 2,131 through 2,145 (of 2,883 total)
I think this falls under an "it depends" window. What problem are you trying to solve? Is a single customer complaining about performance? are multiple clients? are all clients? are...
October 8, 2019 at 8:37 pm
While I do agree with you, I've seen strange behavior like that before. I cannot think of or provide a case where it happened, but I've seen where performance improves...
October 8, 2019 at 3:16 pm
Hello keneangbu,
My first piece of advice would be remove the cursor. Cursors are inherently slow. In your sample piece of code, I do not see a nice way to kill...
October 7, 2019 at 9:49 pm
Just because it works in 1 browser doesn't mean it is not a configuration issue. Each browser may interpret the redirect differently or may even be ignoring it. I've been...
October 4, 2019 at 2:50 pm
Error 5 is access is denied. My first step would be to check what user the SQL Server service is running under and make sure that account has permissions.
If this...
October 4, 2019 at 2:38 pm
Going over to scdecade's solution and doing a bit of tweaking to it, would this not work:
DROP TABLE IF EXISTS test_table;
GO
CREATE TABLE [test_table]
(
[projectid]...
August 22, 2019 at 3:07 pm
When I am installing SQL Server on a server, I usually copy the contents of the DVD to the machine. This allows me to install new instances quickly and easily...
August 21, 2019 at 8:26 pm
I believe powershell can handle that, but most setup applications have silent options so powershell may be overkill for it.
That being said, I would be more concerned about why your...
August 21, 2019 at 6:25 pm
If you are wanting to do it manually, I believe this query should help (may want to tweak it a bit to suit your specific needs):
SELECT
...
July 30, 2019 at 8:12 pm
Sorry for the delayed response, but that is the method I would use. Basically exactly the code you have.
Then before you do the delete, do a quick check to make...
July 22, 2019 at 7:29 pm
You would need the same logic in your delete. Your insert and delete logic should be the same or you will either insert data that isn't deleted (resulting in duplicate...
July 11, 2019 at 5:26 pm
Can you have duplicate OperatorID's in the Transaction table?
try running the following query on the Transaction table:
WITH duplicateCheck AS
(
SELECT OperatorID, count(OperatorID) OVER (PARTITION BY OperatorID) AS OperatorCount
FROM...
July 9, 2019 at 7:57 pm
I still see that link taking me to an article about Data Compression Double Take which seems different than SQL and T-SQL for Beginners or is that where it is...
July 8, 2019 at 5:37 pm
With the sample hourly rate being 10,000, I was just trying to make sure I picked a value that was substantially large enough to cover almost everything possible in the...
July 5, 2019 at 4:21 pm
Do you need this to be "real time" data or can you load the data into some system (Hadoop, SQL Server, Oracle, etc) on a nightly basis?
I am not the...
July 5, 2019 at 2:54 pm
Viewing 15 posts - 2,131 through 2,145 (of 2,883 total)