Viewing 15 posts - 2,146 through 2,160 (of 2,905 total)
That sounds like a pretty easy task:
WITH cte AS (
SELECT [RANGE], [STATUS], LAG([DATE]) OVER (PARTITION BY [ID] ORDER BY [RANGE]) AS [PrevDATE]
FROM <table name>
)
UPDATE [cte]
SET [STATUS]='Y'
WHERE [RANGE]='001'...
October 22, 2019 at 9:11 pm
My recommendation would be to try it out. You are licensed for it; give it a shot.
Build up a proof of concept data migration and compare it to the C#...
October 22, 2019 at 8:56 pm
I have only had budget laptops with upgraded parts (such as an upgraded drive).
My HP Envy was problematic from day 1. Had a stuck pixel. Got it returned under warranty...
October 18, 2019 at 7:56 pm
My next thought on things to check would be the IIS logs. If the PBI logs look fine, it is likely something in your IIS logs.
As a random guess (as...
October 15, 2019 at 9:15 pm
The resulting data type in your calculation is Numeric. I am thinking it is probably a floating point precision error that is giving you a near but slightly lower than...
October 11, 2019 at 10:07 pm
That really depends on what you are trying to do. If it was me, and just guessing based on a lot of the variable names and trying to eyeball that...
October 11, 2019 at 9:48 pm
What about something like this on your last query:
DECLARE
@i_from_date DATE = '2019-10-10'
, @i_to_date DATE = '2019-10-10';
WITH [object_changes]
AS
...
October 11, 2019 at 6:03 pm
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
Viewing 15 posts - 2,146 through 2,160 (of 2,905 total)