Viewing 15 posts - 136 through 150 (of 1,244 total)
Hello - I have a unique problem - I have a requirement to retrieve a substring which appears between the fourth and fifth underscores in a string. The parent...
June 11, 2019 at 3:48 am
Just for the fun of it... 🙂
WITH
cte_n1 (n) AS (SELECT 1 FROM (VALUES (1),(1),(1),(1),(1),(1),(1),(1),(1),(1)) n (n)),-- 10
cte_n2 (n) AS (SELECT 1 FROM cte_n1 a CROSS JOIN...
June 2, 2019 at 6:40 pm
I'm with Erland on the use of scalar functions.
Based on your description, it sounds like a perfect use case for an "AFTER TRIGGER".
May 28, 2019 at 9:59 pm
Please don't take this the wrong way, but looks like the SQL equivalent of a Rube Goldberg devise.
The easiest solution would be to simply install SSMS on the managers laptop...
May 25, 2019 at 1:27 am
Because BOL doesn't list/describe all of the available CONVERT styles...
DECLARE @n INT = 0, @v nvarchar(100);
WHILE @n < 10000
BEGIN
BEGIN TRY
SELECT @v = CONCAT(@n, N' ', CONVERT(NVARCHAR(50),...
May 2, 2019 at 5:45 pm
A-10 (I got to see one once :))
GAU-8 Avenger
May 2, 2019 at 4:24 pm
If you work for an organization that counts lines code as a metric for developer productivity, then RedGate's "SQL Prompt" extension for SSMS is a great investment. A...
April 30, 2019 at 3:13 pm
March 25, 2019 at 12:44 pm
Thank you for the feedback and clarification. I'm glad the solution will work for you. 🙂
March 25, 2019 at 7:10 am
While that will work for the given data,...
March 24, 2019 at 8:24 pm
March 24, 2019 at 5:35 pm
March 18, 2019 at 11:15 am
To...
March 13, 2019 at 3:14 pm
Viewing 15 posts - 136 through 150 (of 1,244 total)