Viewing 15 posts - 4,921 through 4,935 (of 7,505 total)
I always use backup devices and withing a cycle (between full backups) have my log-bacups incremental.
Only very rare I've noticed backups failing because of the device.
We regulary test pit-restores and...
April 29, 2008 at 12:00 am
GSquared (4/28/2008)
just so long as only one of them is clustered.
It is not mandatory to have a clustering index, but I'd advise to always have one.
April 28, 2008 at 11:53 pm
did you try the "for each loop" container to get this doen (in stead of a script task)
April 28, 2008 at 10:49 am
peace2007 (4/26/2008)
Does it mean there's no tool to show that in diagram?:(
AFAIK you dan define logical relationships in ERwin in the logical model.
But I think that will be about the...
April 28, 2008 at 8:03 am
A PK is mainly for DA-purposes, to document the key that will be used to support FK-references to your table. ( http://www.sqlservercentral.com/articles/Advanced/coddsrules/1208/
)
Nowadays many rdbms systems only need a unique...
April 28, 2008 at 2:38 am
Indeed.
-If you can, migrate;
Reasons:
- in case of disaster you'll have to build your server exactly as your current server. i.e. start with install sql 7.0, restore your sql7.0 databases,...
April 28, 2008 at 12:38 am
If your DA / DBA do a good job documenting the relationships, they would for sure use DRI in the database itself AND document the external relationship in the comment...
April 26, 2008 at 8:48 am
- Defragging your table will help ! No doubt about it ! Less IO = better performance.
- less IO = less time needed to hold locks
- create an index that...
April 25, 2008 at 1:05 pm
There is a little typo in the concatenations ( remove "as colname")
i've also added leading zeros to hours and minutes.
it should be :
Declare @theMinutes int
Set @theMinutes = 2945
Select convert(varchar(15),...
April 25, 2008 at 8:01 am
dw (4/25/2008)
Peso (4/25/2008)
The correlated subquery might return NULL if there is no match.
UPDATEmt
SETmt.FKID = x.FKID
FROMMyTable AS mt
LEFT JOINMyFK2Table AS x ON...
April 25, 2008 at 6:12 am
You may need to execute this more than once.
-- Shrink_TrxLog.SQL
--INF: How to Shrink the SQL Server 7.0 Transaction Log
-- SQL7 http://support.microsoft.com/support/kb/articles/q256/6/50.asp?id=256650&SD
-- SQL7 http://www.support.microsoft.com/kb/256650
-- SQL2000 http://support.microsoft.com/kb/272318/en-us
-- SQL2005...
April 25, 2008 at 6:09 am
Did you try the set-based approach.
[Code]
-- avoid implicit rewrites by adding a nullable column
alter table Mytable add colmigrated datetime NULL; -- to keep track if data has already been processed
go
declare...
April 25, 2008 at 3:31 am
as Viking already stated, a column of datatype timestamp is of very little use outside of the sql db.
Even trying to represent it is useless.
btw a timestamp column is automaticaly...
April 25, 2008 at 3:19 am
keep in mind the number of rocket scientists is not that high 😉
Declare @theMinutes int
Set @theMinutes = 2945
Select @theMinutes / 1440 as NoDays -- 1440 minutes per...
April 25, 2008 at 1:11 am
- Check your sql7 service pac for the prereqs !
- Start with SQL2005 Upgrade advisor !
- run dbcc checkdb for all databases;
- if you can , don't upgrade, but migrate...
April 24, 2008 at 2:59 am
Viewing 15 posts - 4,921 through 4,935 (of 7,505 total)