Viewing 15 posts - 3,826 through 3,840 (of 59,067 total)
My current plan is to keep the ID field and my current indexes because it is working fine.
Then I will probably make a copy of the table and try...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 2, 2022 at 5:05 pm
I normally do try. I even violated my own decision to "black ball" someone last night and tried to figure out what the heck it was they were...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2022 at 8:20 pm
I normally do try. I even violated my own decision to "black ball" someone last night and tried to figure out what the heck it was they were talking about. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2022 at 5:12 pm
I've found that a lot of people are using XE to do a lot of things that SQL Server already does better than you could do it with XE. With...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2022 at 5:04 pm
Another way
SELECT C.x.value('@Id', 'varchar(20)') as Id
,C.x.value('@ChapterName', 'varchar(20)') as ChapterName
,C.x.value('concat(local-name(parent::*/parent::*),"\",local-name(parent::*),"\",local-name(.)) ', 'VARCHAR(1000)') AS [Path]
FROM @doc.nodes('ROOT/*/*/item') as C(x)
You've helped a great number of people with sometimes some...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2022 at 10:12 pm
Since there's no sample data, if the date is the only thing in the string, find the first occurrence of a digit and the last occurrence of a digit and...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2022 at 9:50 pm
At least they live up to the name of this thread. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2022 at 9:45 pm
how to give logic for it. I am newbie
Heh... no you're not. According to the date of your first post, you've been working with SQL for nearly 2 years. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2022 at 9:30 pm
The STRING_AGG() function, available in SQL Server 2017 and up, makes this a pretty easy task along with a very useful tool that originates from this very site. You could...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2022 at 7:50 pm
I'm trying to extract date from a text field. I'm using PADINDEX to do this. My results are very inconsistent. Is there anyway I can do this through SQL. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2022 at 6:25 pm
There are several people that I've recently decided are earning a living based on the kindness of strangers that I will no longer help especially since they've been doing the...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2022 at 5:56 pm
(Although the product ID is correctly an NVARCHAR and I'm hoping the NVARCHAR isn't actually a part of the column name 🙁 )
Hmm, I think it's a waste...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2022 at 5:48 pm
I've lost the old link that I had about this and, if I still had it, it probably wouldn't work anymore anyway. A lot of people don't know that Temp...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2022 at 5:29 pm
I've been called many things, but it's a first for Ohil 🙂
The "O" is apparently because "OH! More coffee,...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2022 at 4:57 pm
@Ohil and @steve-2... thank you both for the honorable mention.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2022 at 4:23 pm
Viewing 15 posts - 3,826 through 3,840 (of 59,067 total)