Viewing 5 posts - 1 through 5 (of 5 total)
Believe it or not but SQL server handles well just simple insert/update statement to insert/update text field selected from another table, at least it works like a charm with datalength...
March 12, 2004 at 1:04 pm
I stopped using SQLMail completely, but use a little VBscript to notify me on seccess/failure:
Set oMsg = CreateObject("CDONTS.NewMail")
oMsg.From = "dentalxchange.com"
oMsg.To = "jpoddoubsky@dentalxchange.com"
oMsg.Subject = "Reindex failed for db on Server1"
oMsg.Body...
March 12, 2004 at 12:46 pm
Hi,
I use Dynamic Property task in every DTS package and find it very easy when you have .ini file:
Sample:
1. Create .ini file
[main]
gsMailTo=jpoddoubsky@dentalxchange.com
gsLoadTo=servername.databasename
[input_files]
gsIncomingFile=D:\reports\abc.xls
gsOutgoingFolder=D:\reports_done
2. Create global variables
gsMailTo, gsLoadTo, gsIncomingFile, gsOutgoingFolder, etc...
3....
March 12, 2004 at 12:33 pm
There is undocumented stored procedure available to achive you needs, I personally use it often:
EXEC sp_MSforeachtable @command1="print '?' DBCC DBREINDEX ('?', '', 80)"
The proc will reindex everything with fullfactor =...
March 5, 2004 at 3:12 pm
Here is a nice script I found a long time ago and used it many times:
delete from users_email where exists (
select u.colid, u.email from users_email u where
u.email = users_email.email
group by...
February 9, 2004 at 1:06 pm
Viewing 5 posts - 1 through 5 (of 5 total)