Viewing 15 posts - 391 through 405 (of 2,857 total)
tempdb is used for all temporary storage required by a query. Temp tables and table variables are the big things that fill it up, but other things can be stored...
November 28, 2023 at 3:49 pm
To be completely honest with you, I've never tried to open an RDL in SSMS and didn't even know you could... I don't see the point? Is there a reason...
November 28, 2023 at 2:35 pm
I agree with Ant-Green - test it and see. BUT that being said, the way the bat file is written it would be running command 1 then when that sends...
November 28, 2023 at 2:30 pm
Also, forgive my ignorance, but what do you mean by the statement
-- In T-SQL, you cannot directly change the owner of a view like in PostgreSQL.
-- You would need to...
November 27, 2023 at 9:14 pm
So looking at your expected results, your query isn't doing what you want... but I imagine you already knew that, right? You did try running it against your dataset, right?...
November 27, 2023 at 9:04 pm
Just to confirm, the logs you reviewed are: C:\Program Files\Microsoft SQL Server\MSRS12.SQL2014\Reporting Services\LogFiles (for SQL Server 2014). If memory serves, this can be configured during install time, so that folder...
November 27, 2023 at 8:35 pm
Since you are not deleting anything out of database2, you could get a performance boost by pulling that table into a table variable/temp table and remove the cross database lookups....
November 27, 2023 at 8:33 pm
One thing I would point out is adding indexes is something you should do with caution. I know Bedeencion40 said that adding missing indexes was good, but it isn't always...
November 27, 2023 at 5:08 pm
Even with the sample data, I don't know what your expected output is. Tell me what you expect the output to look like and then I can try to help....
November 25, 2023 at 9:20 pm
I do agree that this is better posted on an "Oracle" forum, but you are going to hit snags still by asking there. The big question that will come up...
November 24, 2023 at 9:47 pm
Not red flags, but habits I like to get into. For SQL 2022, you can use the syntax "CREATE OR ALTER" which I find to be much nicer than the...
November 24, 2023 at 5:05 pm
From my understanding, that problem comes up when there is an issue in the network stack. It is not usually firewall related. MS support says:
Error 121: "The semaphore timeout period...
November 24, 2023 at 3:01 pm
Another way to "move" the columns is to change the SELECT order. What I mean is rather than:
SELECT NAME, ID
FROM TABLE
do:
SELECT ID, NAME
FROM TABLE
The...
November 24, 2023 at 2:20 pm
My opinion - blocking isn't something that needs a DBA to step in. Or at least it SHOULDN'T require a DBA to step in. Blocking should be temporary. If the...
November 23, 2023 at 10:09 pm
@Drew.Allen - is there a reason you need an artificial column to aggregate on? Couldn't you use a COUNT on the ID, assuming there are no duplicate rows and if...
November 21, 2023 at 9:55 pm
Viewing 15 posts - 391 through 405 (of 2,857 total)