Viewing 15 posts - 751 through 765 (of 2,648 total)
what a solution ..is there any easiest way to do this just want to have capital word after space
I've done the difficult bit for you (writing the function) I...
March 24, 2022 at 7:54 pm
Create this function
CREATE FUNCTION dbo.TitleCase
(
@String nvarchar(MAX)
)
RETURNS nvarchar(MAX)
AS
BEGIN
RETURN stuff(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(
replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(
lower(@String),' A','...
March 24, 2022 at 5:14 pm
SELECT *
FROM ParentTable p
OUTER APPLY(SELECT TOP(1) *
FROM ChildTable c
...
March 17, 2022 at 7:58 pm
Just like to say congratulations to Jeff for reaching 1 million points:

March 16, 2022 at 6:02 pm
I assume, therefore, that none of your reports aren't already in an SSRS project? If so, how are the existing reports maintained? What happens when someone asks for a...
March 11, 2022 at 3:52 pm
SSIS comes with something called CHECKPOINT. This allows a process to be restarted from the point of failure. I think you should be using this.
March 8, 2022 at 4:26 pm
I use Faker, you might need to install Python to use it
March 1, 2022 at 5:36 pm
Jonathan AC Roberts wrote:Install the table valued function in this script: https://www.sqlservercentral.com/scripts/a-daterange-table-valued-function
I'll say it again... that's a killer general purpose function with a lot of uses. Thanks for publishing that, Jonathan.
Thank...
February 28, 2022 at 4:55 pm
Install the table valued function in this script: https://www.sqlservercentral.com/scripts/a-daterange-table-valued-function
IF OBJECT_ID('[dbo].[DateRange]','IF') IS NULL BEGIN
PRINT 'CREATE FUNCTION [dbo].[DateRange]'
EXEC ('CREATE FUNCTION... February 28, 2022 at 3:58 pm
If you have a query that is taking a long time to execute. Just paste it into SSMS and press the estimated execution plan button in the menu:
February 24, 2022 at 5:14 pm
If you have a query that is taking a long time to execute. Just paste it into SSMS and press the estimated execution plan button in the menu:
February 24, 2022 at 5:02 pm
i know this one.
the situation is little bit different.
so the query is can we use "with cte" or recursion inside following clauses like exists or cross apply or outer...
February 11, 2022 at 7:58 pm
You cannot union two WITH statements together. You also cannot have an order by within a union all unless you also use TOP to limit the rows though you could...
February 3, 2022 at 9:56 am
You can also get the query plan as text
SELECT TOP(10)
d.name ...
February 1, 2022 at 7:37 pm
When you execute dynamic SQL in a stored procedure you need to have the permissions to execute the SQL inside the dynamic SQL.
This is not true for non-dynamic SQL as...
January 28, 2022 at 2:13 pm
Viewing 15 posts - 751 through 765 (of 2,648 total)