Viewing 15 posts - 76 through 90 (of 375 total)
You need to physically move the files from the old drive to the new drive. SQL will not do this for you.
So when you have done the ALTER ......
January 2, 2025 at 6:24 pm
Hi. Is someone able to help me with this? Thank you
January 1, 2025 at 6:27 pm
SELECT T1.UNIT,
T1.DATE,
CASE WHEN COUNT(T1.PRICE) OVER (PARTITION BY T1.UNIT ORDER BY T1.DATE ROWS...
December 28, 2024 at 11:00 pm
Either below; the first is more typical:
DECLARE @LATEST_DATE DATE;
SELECT @LATEST_DATE = MAX(MY_DATE) FROM DBO.TABLE
--or:
SET @LATEST_DATE = (SELECT MAX(MY_DATE) FROM DBO.TABLE);
It works. Thank you so...
December 25, 2024 at 7:40 pm
1. I hope you are not using floats for prices! 2. Do you really use reserved names for columns? 3. Are you really writing new code with the depreciated...
December 20, 2024 at 7:01 pm
Hi
Is anyone able to help me with this?
Thank you
December 20, 2024 at 6:21 am
- No
- No
And, that is the correct method for moving dbs to a new drive.
Thank you for the prompt reply.
December 17, 2024 at 7:37 pm
Thank you both!
December 17, 2024 at 4:58 am
I actually run the SSIS package within VS so I can monitor it for any issues so I am watching those black screens pop up.
November 25, 2024 at 4:19 pm
I added a clustered index on the two fields. The run time for my SSIS package went UP by about 30 minutes vs having no index on the table. That...
November 25, 2024 at 5:59 am
If the symbol and trade_date form a unique pair in the entire table, make that combination the Clustered Primary Key. Leave this clustered index on the table at all...
November 23, 2024 at 4:56 pm
Not quite the same result but has all the info:
SELECT *
FROM #STOCKS1 AS T1
FULL JOIN #STOCKS2 AS T2
...
November 14, 2024 at 5:14 pm
Maybe?:
SELECT SYMBOL1, SYMBOL2
FROM (
SELECT SYMBOL1, ROW_NUMBER() OVER(ORDER BY SYMBOL1) AS row_num_1
FROM #STOCKS1 S1
WHERE NOT...
November 14, 2024 at 3:28 pm
I made a bit of progress. The format doesn't quite match the desired outcome. What can I do to fix it so it does match the desired outcome?
November 14, 2024 at 5:57 am
Viewing 15 posts - 76 through 90 (of 375 total)