Viewing 15 posts - 526 through 540 (of 2,648 total)
Your query can be simplified to this:
SELECT TOP(11)
c.rowid_object,
c.creator,
...
February 17, 2023 at 11:13 am
Jonathan great. Thanks. I appreciate your help.
One more small question. This code basically compares items between ITEM/LOC and temp and returns if there is a mutual match between temp...
February 17, 2023 at 12:48 am
Jonathan AC Roberts I think yours work. Thank you.
Can I ask do you know guys what am I doing wrong?
I am trying to detect if items from the table...
February 16, 2023 at 10:53 pm
Not sure what you are trying to do but you could put the results of that query into a temp table like this:
DROP TABLE IF EXISTS #temp;
CREATE...
February 16, 2023 at 7:19 pm
And, in the process of making the primary key, it made yet another mistake (at least according to my personal standards). If it's a #TempTable, then never name the...
February 15, 2023 at 8:58 pm
Thanks for taking the time to do these experiments, Jonathan.
The reason it got the Zip right is because it's in quotes. You also had to realize its mistakes on...
February 15, 2023 at 8:54 pm
I never really nest joins like that but if you do you can only access fields from the join on the next level above.
Create some tables:
DROP TABLE...
February 15, 2023 at 8:12 pm
The OP explicitly included leading zeroes in the PK. Those are gone in the table because ChatGPT failed to recognize that as a string. It would have similar issues...
February 15, 2023 at 7:32 pm
Then after you wrote this I thought I'd see what ChatGPT could do to create a table with the data:
So I pasted the table in the question into...
February 15, 2023 at 5:36 pm
That's nice but it's going to silently fail and produce the incorrect total call duration if it adds up to more than 23:59. You've also stolen the thunder of...
February 15, 2023 at 5:25 pm
Create some test data:
DROP TABLE IF EXISTS #temp
GO
SELECT *
INTO #temp
FROM (VALUES
(001, CONVERT(DATE,'2023-02-23'), '123', 'a@a.com', '10:23:00.000', 500, 'W'),
(002, '2023-02-23', '246', 'b@b.com', '09:36:00.000', 456, 'W'),
(003, '2023-02-22', '123', 'a@a.com',...
February 15, 2023 at 3:46 pm
Interesting... the first time I clicked on it, it took me to a page selling hair-care products with that picture on it. I just clicked on it again and,...
February 14, 2023 at 4:37 pm
It is just a link that has the same photo as the avatar of person who posted the message taken from ChatGPT.
I'm thinking that may have been their...
February 14, 2023 at 3:23 pm
ScottPletcher wrote:Your query has some redundancy in it. You are selecting:
Yes- thank you!
I don't think ScottPletcher wrote that - lol
February 14, 2023 at 3:14 pm
Dealing with a super huge table that is partially partitioned can be a challenging task for many database administrators and developers. However, with the right approach and...
February 14, 2023 at 3:09 pm
Viewing 15 posts - 526 through 540 (of 2,648 total)