Viewing 15 posts - 6,886 through 6,900 (of 26,490 total)
READTEXT is associated with the TEXT, NTEXT, and IMAGE data types. I believe what you need to do is migrate from those data types to the VARCHAR(MAX), NVARCHAR(MAX), and...
March 25, 2014 at 10:00 am
First, since you are new to ssc, I took the time to setup the data to work the problem. In this case I simply used a CTE (TestData) to...
March 25, 2014 at 8:53 am
SQL Guy 1 (3/25/2014)
March 25, 2014 at 8:03 am
kaplan71 (3/25/2014)
The rescheduling of the third-party backup job resulted in the native differential backup being successful. Even though the third-party backup include any of the database bak or trn...
March 25, 2014 at 7:59 am
SQL Guy 1 (3/24/2014)
I need to find a count of records within...
March 24, 2014 at 4:28 pm
Uripedes Pants (3/24/2014)
SELECT j.name, h.message, h.run_date, h.run_time, h.step_name
FROM sysjobs j
INNER JOIN sysjobhistory h
ON j.job_id = h.job_id
where h.step_name = '(Job outcome)'
AND msdb.dbo.agent_datetime(h.run_date,h.run_time) > (GETDATE() - 1)
is MUCH...
March 24, 2014 at 4:00 pm
Try this:
declare @Date int = 20140314,
@Time int = 90000;
select msdb.dbo.agent_datetime(@Date,@Time);
March 24, 2014 at 2:54 pm
I don't know why, but this sort of thing scares me.
March 24, 2014 at 1:01 pm
mrupperman (3/24/2014)
Grant Fritchey (3/24/2014)
Nope. I keep getting errors in the XML when I try to open it. Did you edit the plan?
No, I just created the plan and saved it....
March 24, 2014 at 12:37 pm
You may want to look at DDL triggers, specifically LOGON triggers. Be careful when setting up a LOGON trigger as you could accidently block everyone from login into the...
March 24, 2014 at 11:23 am
mrupperman (3/24/2014)
Ok .. try this one. If this doesnt work, then I will just for the Actual Execution Plan and post later.
No luck for me.
March 24, 2014 at 11:11 am
Also, it could just be me, but after downloading the estimated execution plan I was unable to open it.
March 24, 2014 at 10:53 am
mrupperman (3/24/2014)
March 24, 2014 at 10:47 am
Not sure of the performance of this solution, but it is worth a try.
CREATE TABLE dbo.Table1 (DealerId INT, RepairId INT);
INSERT INTO dbo.Table1 VALUES
(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),
...
March 24, 2014 at 10:37 am
May not be the answer you are looking for but hopefully it points you in the right direction:
with Groups as (
select 1 as GroupId,'Oracle' as GroupName,0 as IdParentGroup union all
select...
March 23, 2014 at 9:54 pm
Viewing 15 posts - 6,886 through 6,900 (of 26,490 total)