Viewing 15 posts - 91 through 105 (of 1,632 total)
Thank you,
Is this the one for CU8 thanks,
on this page https://www.catalog.update.microsoft.com/Search.aspx?q=sql%20server%202019
on Steve's page:
May 12, 2021 at 4:26 pm
Could you please explain what this part mean?
cross apply (values (charindex(',', string),
len(string))) st(cloc, lng)
also can the cross apply replace with inner join?
thanks
April 24, 2021 at 4:19 pm
Thank you so much, that works.
But I need to understand this more, esp, those functions and cross apply. Will come back with questions.
April 24, 2021 at 3:57 pm
Thanks. The reason we want to do this is to update firstname, middle and last name in a table with the displayname in active directory. but in active directory the...
April 23, 2021 at 4:45 pm
Thanks, what does st(cloc, lng) mean?
I join with my table, but it says 'Incorrect syntax near 'st'.'
SELECT employeeID
,DisplayName
, lr.l fname, calc.lname, calc.m_init
FROM dbo.ADStaff a
cross apply (values (charindex(',', DisplayName,
len(DisplayName))) st(cloc, lng)
cross...
April 23, 2021 at 2:20 am
Thanks, Of course I can just back the log up, and do the full backup.
My question for this post is try to figure out what is the reason to do...
March 30, 2021 at 7:57 pm
Another point:
Original code is in a table-valued function, then I use other table to join it.
For your code above, should I do same thing, put it in a table valued...
March 17, 2021 at 11:40 pm
sqlfriend wrote:I attache the schema of sample data scrambled for testing
What is the expected output from this data?
The result is just like above Steve posted.
March 17, 2021 at 5:04 pm
Wow, that is so much faster. Thank you Steve. Now let me take a look to understand the code, is it the fnTally make it so much faster?
March 17, 2021 at 5:03 pm
I will give it a try, so the fnTally is the one I can copy here? thanks
https://www.sqlservercentral.com/scripts/create-a-tally-function-fntally
March 17, 2021 at 4:21 pm
Thanks, what is the benefit to use a calendar table, all we need is to know the first day and end day, If we create a calendar table, that has...
March 17, 2021 at 4:19 pm
try to attach file again
March 17, 2021 at 3:59 am
I attache the schema of sample data scrambled for testing
March 17, 2021 at 3:55 am
why there are some many spam from this site recently that sent to my email?
March 8, 2021 at 11:34 pm
The process failed intermittenly. For example on Monday It runs OK, on Tuesday it fails, on Thurday it runs OK again. Everytime it shows connection failure. Also at the same...
March 3, 2021 at 8:24 pm
Viewing 15 posts - 91 through 105 (of 1,632 total)