Viewing 15 posts - 541 through 555 (of 2,462 total)
nsadams87xx (8/12/2016)
So it really should only be used with columns that are not updated very often, have large amounts of data, and those columns are often used together?
Adding to what...
-- Itzik Ben-Gan 2001
August 12, 2016 at 10:46 am
HappyGeek (8/11/2016)
Iwas Bornready (7/25/2016)
Yet Another DBA (7/22/2016)
Time to leave?Hmm, with some companies its the day after I started.
That's sad you didn't know that before you started.
So how exactly do you...
-- Itzik Ben-Gan 2001
August 12, 2016 at 10:35 am
shambhavi13 (8/11/2016)
Have one another question in mind .. what if I want to search more than one one word in a single document but in...
-- Itzik Ben-Gan 2001
August 12, 2016 at 9:10 am
Suth (8/12/2016)
I currently need to make a number of schema changes to a database that is set up for replication (Transactional) the schema changes...
-- Itzik Ben-Gan 2001
August 12, 2016 at 8:01 am
vsamantha35 (8/11/2016)
Thanks Alan.I have one more question, how to handle / avoid query timeouts?
What Gail said really sums it up. 😉
-- Itzik Ben-Gan 2001
August 11, 2016 at 2:22 pm
Brandie Tarvin (8/11/2016)
-- Itzik Ben-Gan 2001
August 11, 2016 at 2:19 pm
To alleviate the SARGability problem with the "WHERE CAST(RequiredByDate AS DATE) BETWEEN @StartDate AND @EndDate" solution Drew and I provided you could create an indexed view like so:
CREATE VIEW dbo.vw_TempDate
WITH...
-- Itzik Ben-Gan 2001
August 11, 2016 at 9:39 am
Consider this query:
DECLARE @StartDate DATETIME;
DECLARE @EndDate DATETIME;
SET @StartDate = '20160801'
SET @EndDate = '20160805'
SELECT startdate = @StartDate, enddate = @EndDate;
Results:
startdate ...
-- Itzik Ben-Gan 2001
August 11, 2016 at 8:30 am
cmullen77 29296 (8/10/2016)
That was my point.. I had an issue running an update statement, so I started eliminating rows to figure out what was causing my problem. ...
-- Itzik Ben-Gan 2001
August 10, 2016 at 9:05 pm
http://www.scarydba.com/2015/03/12/monitoring-timeouts/%5B/url%5D
-- Itzik Ben-Gan 2001
August 10, 2016 at 7:13 pm
cmullen77 29296 (8/10/2016)
update EmpActions set isactive = 'N' where 1=2
When I run this, my MS SQL server goes to about 33% and just...
-- Itzik Ben-Gan 2001
August 10, 2016 at 7:06 pm
is250sp (8/10/2016)
emplid effdt effseqjobcode
00001068 3/27/200500241
00001068 ...
-- Itzik Ben-Gan 2001
August 10, 2016 at 12:56 pm
sam 55243 (8/10/2016)
I'm using stored procedure where i'm getting role Id in comma separated values and i need to check for specific role id in that. Im using charindex...
-- Itzik Ben-Gan 2001
August 10, 2016 at 12:41 pm
S7 (8/10/2016)
Do you give him/her a daily tasks to todo? How do you manage them? please help.
Depends on what kind of DBA (operations, application, all of the above), how junior...
-- Itzik Ben-Gan 2001
August 10, 2016 at 12:19 pm
shambhavi13 (8/10/2016)
-- Itzik Ben-Gan 2001
August 10, 2016 at 11:25 am
Viewing 15 posts - 541 through 555 (of 2,462 total)