Viewing 15 posts - 151 through 165 (of 455 total)
When creating clustered indexes, you can add page level compression.
March 16, 2015 at 8:09 am
spaghettidba (3/10/2015)
March 11, 2015 at 9:08 am
I tried it, but got the following error:
Msg 5064, Level 16, State 1, Line 1
Changes to the state or options of database 'Test' cannot be made at this time. The...
March 10, 2015 at 11:46 am
Yes you can. But before that, you should do some research: is col1 ever-increasing, how many records will be in one partition, min, max values for each partition, can col1...
March 5, 2015 at 8:36 am
Run both views from sys. schemas.
March 4, 2015 at 12:02 pm
Why he cannot? He can.
1. Create 2 schemas
2. Alter them and transfer all needed tables.
3. Create 2 Fg's.
4. Create files for them.
5. For all tables in these schemas: create clustered...
March 4, 2015 at 11:12 am
1. Find out from sys.sysprocesses who is connected to that database.
2. Kill his SPID.
3. Alter database <> set multi_user .
All these assumes that you are member of sysadmin role
March 4, 2015 at 11:07 am
select d.name,
sum(r.cpu_time)
from sys.databases d join sys.dm_exec_requests r
on d.database_id = r.database_id
group...
February 27, 2015 at 9:44 am
It just shows that it's enabled for replication. Did you get any result from 2nd query?
February 27, 2015 at 9:34 am
Check these on publisher's server:
select is_published
from sys.databases
where name = 'your_database_name'
go
select *
from distribution.dbo.MSpublications
where publisher_db = 'your_database_name'
go
February 27, 2015 at 7:47 am
select [Table Name ] = name,
[Date created]= create_date
from sys.tables
select [My current SPID]= @@spid
February 26, 2015 at 3:45 pm
Lowell (2/25/2015)
February 25, 2015 at 1:55 pm
The problem is that we have multiple databases on same server, and sometimes developers need to run join queries between them, so we can't prohibit cross-databases queries.
About catching with...
February 25, 2015 at 11:46 am
TS00 (2/11/2015)
We have log shipping.Does that mean we can't report while logs are being applied?
YES
What method of replication would be more appropriate?
Transactional replication
The requirements is that we need to...
February 11, 2015 at 2:13 pm
Do you have actually replication or log shipping? In case of former, you don't need to do any changes. In case of latter, you can access database between applying logs.
February 11, 2015 at 1:59 pm
Viewing 15 posts - 151 through 165 (of 455 total)