Viewing 15 posts - 541 through 555 (of 2,458 total)
vsamantha35 (8/11/2016)
Thanks Alan.I have one more question, how to handle / avoid query timeouts?
What Gail said really sums it up. 😉
August 11, 2016 at 2:22 pm
Brandie Tarvin (8/11/2016)
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...
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 ...
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. ...
August 10, 2016 at 9:05 pm
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...
August 10, 2016 at 7:06 pm
is250sp (8/10/2016)
emplid effdt effseqjobcode
00001068 3/27/200500241
00001068 ...
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...
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...
August 10, 2016 at 12:19 pm
shambhavi13 (8/10/2016)
August 10, 2016 at 11:25 am
shambhavi13 (8/9/2016)
SELECT...
August 10, 2016 at 8:54 am
Alternatively you could parse those strings into individual words and create a search table that would avoid the scan problem, but that is probably a lot more work than just...
August 9, 2016 at 9:34 pm
.. I want to display the candidate rank as an avg of all the three columns .
Using my sample data from earlier, the best way would be like so:
SELECT...
August 8, 2016 at 10:03 pm
J Livingston SQL (8/4/2016)
DECLARE @tblResumeTag TABLE ( int identity primary key, TextVersion varchar(8000));
INSERT @tblResumeTag(TextVersion) VALUES
('I accelerated the development of the system by making rationale decisions based on...
August 8, 2016 at 9:27 pm
Viewing 15 posts - 541 through 555 (of 2,458 total)