Viewing 15 posts - 76 through 90 (of 754 total)
Does your table already have a clustered index on the column you will use for partitioning? If not, it will need to. That presents the likelihood of downtime & locking...
March 7, 2024 at 5:28 pm
March 7, 2024 at 2:13 pm
You could use sums of case statements to get the count:
WITH subquery as
(
SELECT
'A' AS SYMBOL, CAST(GETDATE() AS DATE) AS TRADE_DATE,
0 AS AB30_C, 1 AS AB30_P, 1 AS...
March 5, 2024 at 9:27 pm
SSMSBoost appears to be back from the dead.
March 5, 2024 at 2:23 pm
I haven't begun to use all of SQL Prompt's features. But it's code completion is much better than SSMS built-in intellisense. I have found Smart Rename & Find Invalid Objects...
March 5, 2024 at 2:14 pm
March 4, 2024 at 2:43 pm
How many rows are you keeping?
It may be faster & easier to insert retained rows into a new table, rename or drop the old table, and rename the new table...
February 29, 2024 at 2:02 pm
Don't. Use SQL Server Reporting Services or some other external service.
February 28, 2024 at 6:59 pm
Best practice: Don't truncate your transaction log, except in unanticipated emergencies where you have run out of storage, and the cost of waiting to add storage exceeds to cost of...
February 23, 2024 at 8:47 pm
Has anyone applied any SQL Server CUs to that server in February?
What does SELECT @@VERSION return?
February 21, 2024 at 8:14 pm
I'd rather strongly recommend a separate note table for each entity.
If you need/want a single querying point, create a view that unions those individual tables. You can use an EntityType/EntityTypeID...
February 20, 2024 at 2:07 pm
DDL Triggers have a "RENAME" EventType.
If you want to catch it after the fact using some kind of comparison, then you're probably looking for columns that have the same data...
February 19, 2024 at 7:24 pm
Duplicate due to slow response/double click
February 15, 2024 at 5:46 pm
Viewing 15 posts - 76 through 90 (of 754 total)