Viewing 15 posts - 6,271 through 6,285 (of 59,089 total)
I can't speak to the problem you're having with CMS (I don't use it) but it's a bit crazy having both of the columns in your table variable defined as...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2020 at 8:02 pm
For saving space, https://voiceofthedba.com/2014/12/01/creating-placeholder-files/
Those are handy to help trick the network folks into thinking that you're using more space than you are so you have time to make...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2020 at 6:20 pm
Be careful of autogrowth here. Also, it's a good idea on any drive with auto-growth enabled, create an file called 'deletemeinemergencies' or similar. Make it big enough, say...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2020 at 6:18 pm
Create Table #LeaveTable(Co int, Emp int, LeaveDate date);
Insert Into #LeaveTable (Co, Emp, LeaveDate)
Values
(1, 1001, '12/22/2020')
, (1, 1001, '12/23/2020')
, (1, 1001, '12/24/2020')
, (1, 1001, '12/28/2020')
, (1, 1001,...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2020 at 3:59 pm
I've not read this entire article but there does seem to be a problem... for example, this is a quote from the article...
When I ran the code in Listing 6,...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2020 at 1:39 pm
hi folks
just after some advice
if the Log space has 98% reported free space but the physical drive has virtually no free space left
will trans logs for the db post...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2020 at 1:28 pm
For those complaining about review boards... despite the pain they seem to bring, I found that such "heavy handed" review boards are a thousand times better than having a "cowboy"...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2020 at 1:18 pm
From the Article:
...Microsoft does, as do lots of organizations trying to embrace DevOps and produce higher quality...
Ok... you caused me to blow a pork chop bone out of my...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2020 at 2:34 am
And you're seeing exactly why PLE is a horrible measure, standing on it's own. In combination with other measures, it may tell you things. Just PLE, nope. No...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2020 at 7:57 pm
Hi,
We have a database that has 50GB of data, 99% of which is in one table. In this table there are 31,004,447 records, the developer is running a query...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2020 at 4:46 pm
If the format is guaranteed an you only want the first element, then the code can be greatly simplified.
SELECT Result = SUBSTRING(SomeText,4,CHARINDEX('&',SomeText,4)-4)
FROM #Stuff
...--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2020 at 6:04 pm
Thanks guys! We noticed this issue again. So this time I did not restart the database server at all and instead advised to restart application servers only and everything...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2020 at 4:45 pm
How about query time-out to exit the query when it has been executed over default 10 minutes to unlimited 0?
If you have a front end query that's taking longer...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2020 at 4:37 pm
Are you sure your data system really needs it all in actual columns? ( advocate of the devil, I know )
Have you considered putting those "free wheeling columns" into...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2020 at 3:54 pm
Even though I'm a fan of SQL Profiler, I don't use it to find queries that may be an issue. I've also found that "long running queries" are not usually...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2020 at 1:32 pm
Viewing 15 posts - 6,271 through 6,285 (of 59,089 total)