Viewing 15 posts - 8,461 through 8,475 (of 59,091 total)
Or re-create the index so that it allows multiple NULLs but no other dups.
Apparently, the morning coffee hasn't kicked in for me yet today... what would the CREATE INDEX...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2019 at 5:47 pm
What is the datatype of the original data you want to convert?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2019 at 5:39 pm
Haha Jeff. I do spend a lot more time than I would like writing managed code. But this is the same third party vendor's code who has this as...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2019 at 5:34 pm
Oh yah. Had this. Only to be told by the Lead Developer that its a 'best practice' and that 'I wouldn't understand'
So, I made my case and then let...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2019 at 4:02 pm
best of luck - if you have the chance, try both methods, ignore us all and go with the one that best suits you
Ditto dat!
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2019 at 3:49 pm
Before and after backup log, can you run this command and post the result here?
dbcc sqlperf(logspace)
this command could return the physical and logical size of actual log. Sometime, the...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2019 at 3:44 pm
Oh boy how I love vendor code. I am not exaggerating to say I just saw this.
try
{
OneLineOfCode;
try
{
AnotherLineOfCode;
try
{
ThirdLineOfCode;
}
catch(Exception ex) {}
}
catch(Exception ex) {}
}
catch(Exception ex) {}
It is bad enough...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2019 at 5:50 am
Thanks for the detailed information, Greg.
First, if the log file is getting too big for you on the database in question and it's only taking 20-30 minutes in the FULL...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2019 at 5:37 am
To be honest, I doubt that the stat you dropped had anything to do with the problem. I think that you may have just had a bad plan cached and...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2019 at 5:11 am
One takeaway I had from your post is that you use tables in another DB and reference them in the main DB via synonym. We have a web server...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2019 at 1:12 am
I like @"Jeff Moden"'s Rule 2:
another auditable process we rigidly follow is that NO ONE IS ALLOWED TO DEPLOY THEIR OWN CODE TO PRODUCTION
I used to hate having...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2019 at 12:47 am
Yes sir, credit to you, Thunderball it is. I mis-remembered the name.
I like the early James Bond movies, although I haven't seen this one for quite a while.
Heh... "Thunderbird"...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 29, 2019 at 12:23 pm
Just my 2 cents...
I've always done updates the way you've posted. As some have said, it's saved my keester more than once.
I also hammer (in a mentor/nice way) the method...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 29, 2019 at 12:10 pm
@greg...
You say it took 1.5 hours to rebuild the DATABASE. How many GB does the database contain and was that to REBUILD all of the indexes on all of the...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 29, 2019 at 2:27 am
Thanks just want to make sure what if index is created in a file group can we restore that only?
Even if we could, restoring an index will not defrag...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 29, 2019 at 12:52 am
Viewing 15 posts - 8,461 through 8,475 (of 59,091 total)