Viewing 15 posts - 2,686 through 2,700 (of 59,099 total)
Actually, SELECT INTO is very explicitly documented and incredibly useful (especially for building Temp Tables without having to use CREATE TABLE). See the following link...
https://learn.microsoft.com/en-us/sql/t-sql/queries/select-into-clause-transact-sql
To quote from the FROM...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2022 at 8:08 pm
It would be nice if the example data script actually worked. 😉 Here are the results then I try to load the data for the Customer_Orders.
Msg 2627,...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2022 at 10:27 pm
Could you give me advice on where I should learn SQL and Python to become high-skill engineer?
Most tutorials and courses seem here to focus on the querying part of...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2022 at 10:07 pm
Hello,
Before migrating the databases to the new servers, if I need to make sure that all the pending transactions from the Replication queue logs are cleared, so that in...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2022 at 4:38 pm
This works really well for us, thank you!
Smells like a preamble to SPAM.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2022 at 4:37 pm
There is more than 1 plan for a particular query. I suspect it could be auto stats is sampling too low so enabling the persistent sampling. Any thoughts?
It could...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2022 at 4:33 pm
A commitment of appreciation is all together for the method, it turned out just immeasurable for me moreover!
Yeah... I'm thinking pre-amble to SPAM here.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2022 at 4:30 pm
The first thing to do is to see what login the stored procedure was running under and then look at the settings for the linked server connection to see if...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2022 at 4:29 pm
From the Article:
"I urge developers to have others look at what they present on the screen, and spend time learning from users, both experienced and novice. "
I've found that...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2022 at 4:20 pm
Thanks. That's just fascinating to me because I've never seen such a thing before.
Any chance of you posting the TVF so I can try to make an experiment that duplicates...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2022 at 5:57 pm
Since you're right there and have a handy test setup, I'd be curious what happens with the same query with the comments in the following form...
SELECT SUM(results)
/* comment1 */
/* comment2...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2022 at 2:33 pm
Hello,
We use Sentinel AV software. And yes, when disabled the entries for the FULL backups are gone as well.
Peter
Thanks, Peter. Lordy... that's a bit crazy. Apologies for asking and...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2022 at 2:21 pm
I also have to ask "WHY"? Why do you need to "batch" this instead of just doing all 2 million rows, which most servers can easily handle?
And the reason why...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2022 at 2:06 pm
Thanks, Jeffrey.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 29, 2022 at 11:33 pm
Interesting... Just one more question, please... have you ever done a restore to test all of that (including log files)? Knowing you, I'm sure you have but I've got to...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 29, 2022 at 11:22 pm
Viewing 15 posts - 2,686 through 2,700 (of 59,099 total)