Viewing 15 posts - 1,516 through 1,530 (of 59,082 total)
Through SQL? No. It's a command line driven process. Powershell is how I would do it. Check out DBATools.
As a bit of a sidebar, it's a real shame...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2023 at 2:22 pm
Were both these generated by ChatGPT?
Heh... and so it begins. 🙁
Oh, and the ChatGPT answer suggests using Profiler. That's flat out wrong, assuming SQL Server 2012 or greater....
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2023 at 1:23 pm
The second server in this case is on an environment that is essentially an exact snapshot of our production environment, which is taken over the weekend.
I'm totally confused...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2023 at 1:17 pm
You must have VIEW DEFINITION permission and I bet I don't. I'm testing this on our cloud based DB from our app provider using my surface laptop and we...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2023 at 1:13 pm
The old article you found in a previous response to your question used sysdepends, which would sometimes miss things depending on the order of creation. Take a look at the...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2023 at 3:49 am
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2023 at 3:38 am
I'm trying to create a clustered index on a very large heap table. Below is the script i'm using to perform the creation job.
CREATE CLUSTERED INDEX...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2023 at 1:53 am
I just use BCP OUT using the Native format and then either BCP or BULK INSERT to import it on the target. Obviously, there needs to be a folder somewhere...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2023 at 11:49 pm
indeed.
Been there, did that.
You can bring a horse to the water, but you cannot make it drink.
You can if you hold its head underwater and hook a shop-vac up...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 2, 2023 at 2:35 pm
As a bit of a sidebar and without knowing the particulars, it's pretty much a worse practice to make calls within a stored procedure to an actual IP address. If...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 2, 2023 at 2:26 pm
Awesome. Looking forward to it.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2023 at 7:00 pm
Thanks, Michael.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2023 at 6:59 pm
I submitted a few sessions, got accepted, and realized that I had a conflict that weekend!!!!!!!!!!!!!!
You've let Paul P. know, correct?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2023 at 2:41 am
I know what you were looking for but there's actually no correct answer because of the VARCHAR(20) thing. The correct format of the correct answer is 23 characters long and...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2023 at 1:34 am
To be honest, though, the tool seems to be based only on column names. It doesn't actually look for columns that, for example, look for 9 digit number or strings...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 30, 2023 at 3:58 am
Viewing 15 posts - 1,516 through 1,530 (of 59,082 total)