Viewing 15 posts - 136 through 150 (of 522 total)
The secodnary database of a log shiping is continously on recovery mode. You cannot access it. So you need to set the db to Standby mode.
However, you can create db...
September 14, 2006 at 7:27 am
You can do this, but it may cause problem when you manage the text using string functions. By utf-8, some characters need one byte, some need 2 or more bytes to...
September 14, 2006 at 7:19 am
I think you need to talk with BI users/developers about the BI task (loading data etc) schedule. If there is time period that the db is not heavily used, schedule the...
September 14, 2006 at 7:02 am
Try to set the transaction isolation level to SERIALIZABLE in the beginning of your script:
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
September 14, 2006 at 6:49 am
let's say if 50% of the records have null value for all the nullable columns, you do not need to insert those records into the second table. The second table only contains records...
August 16, 2006 at 10:27 am
Table schema reflects real world entities or relations. Without knowing the "real thing" the table represents in the real world, it's even hard to say the spliting is a nomalising...
August 16, 2006 at 10:06 am
You can try to load the data of the select without subquery into a temp table:
INSERT #TempTbl(sales_office_id, invoice_id)
Select sales_office_id, invoice_id from data_warehouse
where (date range, order type, misc criteria)
Then, remove existing...
August 16, 2006 at 9:50 am
Yes. You need to run the setup to create new instances
July 7, 2006 at 7:08 am
select
database_id,name as database_name,recovery_model, recovery_model_desc FROM sys.databases
June 27, 2006 at 7:59 am
The partitions you created are (t<1900-01-01 1:00:00), (1900-01-01 1:00:00=<t<1900-01-01 2:00:00), ...
So in fact if you insert data at 1:00am, the data will go to the 2nd partition.
To retrieve all data...
June 27, 2006 at 7:56 am
SELECT constid,
id,
colid,
status
error
FROM Sysconstraints
is the same as:
SELECT constid,
id,
colid,
status AS error
FROM Sysconstraints
here error is treated as the alias of column of status.
June 23, 2006 at 7:12 am
The syntax should be:
ALTER TABLE dbo.employee SWITCH PARTITION $partition.HourRangePF1(
June 23, 2006 at 7:07 am
In sql agent, open job property-->steps tab-->the step 1-->advanced, try to change "on failure action" to "go to next step"
June 22, 2006 at 8:15 am
One basic requirement for partition switching is both the source partition and the target table and their blob columns (text, image etc) must in the same file group.
You need to...
June 22, 2006 at 8:10 am
You need to change both triggers as follows (in red).
1. *** Trigger after inserted to add account balance
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
ALTER TRIGGER [AddAccountBalance] ON [dbo].[journalChild] AFTER INSERT AS
BEGIN
UPDATE...
June 16, 2006 at 7:34 am
Viewing 15 posts - 136 through 150 (of 522 total)