Viewing 15 posts - 931 through 945 (of 59,060 total)
I have a large SQL database with millions of records, and I've identified duplicate entries. What's the most efficient way to find and remove these duplicates without compromising database...
November 10, 2023 at 12:28 pm
Thanks, Jeff. I made the assumption that the OP did not have a table 'TBL' containing a single column 'COLUMN1' and therefore that the addition of a suitable PK...
November 10, 2023 at 12:16 pm
hi,
i have coma separated vales in a table. what i want to reverse it like 'CLP,CAD,GBP' pls tell me how it can be done WITH OUT USING XML IN...
November 10, 2023 at 11:44 am
Great question, Steve. It gave me an idea for something else that I need to do.
November 8, 2023 at 8:17 pm
Though its Azure MI Business critical , I see fragmentation, Any script to identify which IX's need to be rebuilt ,as Frag is over 50%.
I will add REBUILD WITH...
November 7, 2023 at 8:08 pm
Or - you could add a file and use EMPTYFILE on the original file. Once the original file is empty it can then be removed.
Have you tried this when...
November 6, 2023 at 11:34 pm
Removed... I somehow duplicated the post below.
November 6, 2023 at 11:33 pm
Why are you duplicating this question? I don't see a link suggesting this is spam, but the answers to that almost identical question are going to be what...
November 5, 2023 at 8:51 pm
"Bumping" this post because it's hidden by the "Don't display the first post of a new page" problem this forum has, which I wish they'd fix. This has been a...
November 4, 2023 at 10:27 pm
The issue with using QUOTENAME is that it returns the result as an NVARCHAR(258). The OP started out with a VARCHAR().
In this case, the resulting STRING_AGG() returns an NVARCHAR(4000).
November 4, 2023 at 10:14 pm
Just "bumping" this because of the "1 Post on another Page won't display" problem that this forum has. I really wish they'd fix this issue. 🙁
November 4, 2023 at 10:03 pm
thanks all. Seems to be working now.
What did you change to make it so?
November 4, 2023 at 9:47 pm
Heh... what? You don't like using D1, D2, D3, D4, etc, for the names of cascading CTEs? 😛 Or, how about table aliases named T1, T2, T3, T4, etc?
I've seen...
November 4, 2023 at 4:24 am
I need to track changes when a column is updated on two tables.
Is there a way to do it. please send code for that.
Yes... there's a super easy way...
November 2, 2023 at 11:40 pm
Not that the code is unreadable or anything like that but consider documenting your production code so people don't have to try to figure out what the intent of the...
November 1, 2023 at 7:02 pm
Viewing 15 posts - 931 through 945 (of 59,060 total)