Viewing 15 posts - 91 through 105 (of 2,620 total)
Have you checked the SQL Server logs?
April 17, 2024 at 4:31 pm
As someone who used temp table and had a lot of issues with it, I highly recommend start creating table into DB and use it.
TempDB is good only if...
April 17, 2024 at 4:10 pm
I have resorted to setting the DATEFIRST in the SQL Agent job, but I still want to know WHY SQL agent and Query window behave differently.
Different users can be...
April 15, 2024 at 3:15 pm
I have resorted to setting the DATEFIRST in the SQL Agent job, but I still want to know WHY SQL agent and Query window behave differently.
Different users can be...
April 15, 2024 at 3:15 pm
This produces the exact same results as Jonathan's query with far fewer reads.
WITH CTE AS
(
SELECT xp.RBDTYR
...
April 12, 2024 at 8:49 am
April 11, 2024 at 5:11 pm
I uploaded your picture to ChatGPT 4 and asked it to: "Write a SQL Server create table (table name: XXXRE60P) and insert script for this, make sure you...
April 11, 2024 at 5:01 pm
Have you tried my solution?
;WITH CTE AS
(
SELECT DISTINCT
RBDCTL,
...
April 11, 2024 at 4:13 pm
Have you tried my solution?
;WITH CTE AS
(
SELECT DISTINCT
RBDCTL,
...
April 11, 2024 at 3:54 pm
April 11, 2024 at 2:53 pm
I uploaded your picture to ChatGPT 4 and asked it to: "Write a SQL Server create table (table name: XXXRE60P) and insert script for this, make sure you include all...
April 11, 2024 at 2:49 pm
;WITH CTE AS
(
SELECT DISTINCT
RBDCTL,
...
April 11, 2024 at 2:34 pm
Also try removing the last character from the string.
$dateTimeString = (Get-Date).ToString('yyyy-MM-dd HH:mm:ss')
$dateTimeString = $dateTimeString.Substring(0, $dateTimeString.Length - 1)
April 9, 2024 at 11:25 pm
Not sure if this will be any faster, you might have to look at putting indexes on the table if it is not:
;with cte as
(
...
April 8, 2024 at 9:50 pm
Not sure if this will be any faster, you might have to look at putting indexes on the table if it is not:
;with cte as
(
...
April 8, 2024 at 5:58 pm
Viewing 15 posts - 91 through 105 (of 2,620 total)