Viewing 15 posts - 1,471 through 1,485 (of 1,492 total)
Sorry jumpped in without reading all posts. Missed the multiple pages
February 19, 2014 at 8:08 am
Did you rebuild the query statistics when you changed servers?
Note this is a guess on my part as I am not an expert in performance tuning.:ermm:
February 19, 2014 at 7:10 am
Select Distinct EPSReferralKPIs.dbStaffLastName
From EPSReferralKPIs
UNION ALL
SELECT 'No Ref - Staff'
February 19, 2014 at 6:18 am
Here is what I did. I do not know if it is what you were looking for but I used a global temporary table.
create table ##t (Email varchar(1000))
Insert...
February 18, 2014 at 7:55 am
If I understand you....
UPDATE tbl_source
SET Col1 = CASE WHEN LEN(col3) > 10 AND col3 LIKE '111%'
THEN SUBSTRING(col3, 4, LEN(col3) ELSE dbo.fn_ConvertToNumeric(col3) END
WHERE col2 = 'abc';
using a WHERE clause...
February 13, 2014 at 6:12 am
Thank you all.
I knew that ColumnB would need its own if it required an index, I just wanted clarification on the first column in an index list. ...
February 11, 2014 at 9:26 am
Thank you. I had thought that was the case, thus the question.
February 11, 2014 at 7:49 am
You have one too many equals in your code. Also look up the use of IF UPDATE() within a trigger.
CREATE TRIGGER [dbo].[tr_a] on [dbo].[A]
AFTER UPDATE
AS
BEGIN TRY
...
February 10, 2014 at 1:16 pm
We use Idera DM. It does have the historic snapshots. I like it, but then it does what we need.
I have not had experiance with the...
February 4, 2014 at 1:28 pm
Are you using the SELECT * or is that just for the example? If not you might want to list the desired columns.
February 4, 2014 at 1:08 pm
Not that it will help with your current problem, but we alway use four days as this will take into account one holiday plus the weekend.
February 3, 2014 at 12:14 pm
Lowell, thanks for the reply. I am actually looking to delete the "bad" numbers so yes it is an IN.
February 3, 2014 at 11:39 am
Grant, now that you point it out I remember about the scan.
I am not that worried about the scan for the desired use, I was just hoping to learn a...
February 3, 2014 at 11:36 am
Thank you.
So it would be like?
WHERE PhoneNum not like '%1111111'
AND PhoneNum not like '%2222222'
AND PhoneNum not like '%3333333'
AND PhoneNum not like '%4444444'
AND PhoneNum not like '%5555555'
AND PhoneNum not like '%6666666'
AND...
February 3, 2014 at 11:19 am
I was interested in this post as I currently have a cursor that does this and have been looking for a way to replace it.
I have asked in other forums...
January 30, 2014 at 7:15 am
Viewing 15 posts - 1,471 through 1,485 (of 1,492 total)