Viewing 15 posts - 7,756 through 7,770 (of 26,490 total)
What driver are you using to connect to the Oracle server?
May 1, 2013 at 4:08 pm
Is the report dynamic (requires access to the SQL Server database when viewed) or static (the data for the report is contained in the report when it is sent to...
May 1, 2013 at 2:07 pm
george sibbald (5/1/2013)
thank you.now to convince the sharepoint guys that MS doco can be less than perfect............
Yes, looking back at this:
The sharepoint documentation states that high availability mirroring MUST be...
May 1, 2013 at 12:28 pm
Give this a shot:
select
HourOfTheDay,
sum(case when TimeReceived between GETDATE()-1 and GETDATE() then NumberOfOrdersInBatch else 0 end) as NumberOfOrders,
...
May 1, 2013 at 12:15 pm
Once again, you really don't need to use CTEs in this example. I am posting my code again, but this time I have included a version using CTEs. ...
May 1, 2013 at 12:04 pm
george sibbald (5/1/2013)
I know how the databases fail over, automatically or not, I was just looking for a second opinion...
May 1, 2013 at 9:55 am
Your original code:
create table #temp (ID int, Name varchar(20))
insert into #temp
values
(10, 'Helen'),
(20, 'Joe'),
(30, 'Blake');
;with cte as
(select * from #temp)
select * from cte
union all
;with cte as -- << error is...
May 1, 2013 at 9:51 am
Based on your original post, the correct code is this:
create table #temp(
ID int,
Name varchar(20)
)
insert into #temp
values (10, 'Helen'),
...
May 1, 2013 at 9:45 am
KoldCoffee (5/1/2013)
May 1, 2013 at 9:39 am
Something or someone has to tell the mirror database to take over as principal. The application does not do this. If you want SQL Server to automatically failover...
May 1, 2013 at 9:29 am
No CTEs are needed:
create table #temp (
TicketID int,
Name varchar(20),
Duration int
)
insert into #temp
values (10, 'Helen', 8),
...
May 1, 2013 at 9:22 am
george sibbald (5/1/2013)
agreed - for the databases, thats a no brainer.
but what about the client automatically repointing to the mirror when the principal goes down,...
May 1, 2013 at 9:07 am
Marcus Farrugia (5/1/2013)
update testTable
set
a.fname = b.fname
from
(select * from testTable where pkid = 1) as a
join
(select *...
May 1, 2013 at 9:03 am
george sibbald (5/1/2013)
May 1, 2013 at 8:58 am
You have followed the information in the following article: http://msdn.microsoft.com/en-us/library/ms188236(v=sql.100).aspx?
April 30, 2013 at 3:06 pm
Viewing 15 posts - 7,756 through 7,770 (of 26,490 total)