Viewing 15 posts - 7,081 through 7,095 (of 7,472 total)
replace the "distinct" with a "group by" if you can, it might get index-only access, whilest distinct is an extra passthroug of the resultset .
- http://www.sql-server-performance.com/cursors.asp
- http://www.sql-server-performance.com/dp_no_cursors.asp
- http://www.sqlservercentral.com/articles/articlesexternal.asp?articleid=477
March 30, 2004 at 11:56 pm
your last "group by" is not allowed.
How about :
update ft
set ft.peso= fiii.NewPeso
from ft
inner join fi fii
on ft.ftstamp=fii.ftstamp
and ft.fdata between '20040201' and '20040229'
inner join
(select...
March 30, 2004 at 10:59 pm
sqlagent needs to be restarted when you activate the first alert.
March 30, 2004 at 1:54 am
- If it occurs while running the sp :
check your network-card/cable the computer where you get the error.
If it occurs on #-computers, check network-card/cable at the server.
- Check out if...
March 26, 2004 at 12:38 am
Very nice
Many have been searching for this and (like I did) build their own sqldmo-solution.
March 26, 2004 at 12:22 am
"Therefore, I am trying to create very general indexes on each table that will serve generic needs (my attempt at half-way optimizing the DB). So each table has a unique...
March 24, 2004 at 11:54 pm
How about renaming sp_start_job temporary and await what's going wrong
March 23, 2004 at 11:51 pm
Even when disabled, one can still start a job manualy !
ifaik the schedules will not launch the job because it is disabled.
If you doubt it, you could still disable all...
March 23, 2004 at 12:55 am
there is a sqldmo example for this delivered if you have checked for example-files to be installed.
It will need to be modified because it...
March 23, 2004 at 12:35 am
Is your "old" server obsolete ?
if so : clone your "old" server to your new one, so you can avoid the naming problems.
March 23, 2004 at 12:25 am
That is not what I mean.
In my previous reply I altered the sp so it would use only known values !
What you want to perform -IMO- is to have predicates...
March 19, 2004 at 5:30 am
Does sqlmail also work when you have a remote sql-connection (not on the server itself) ?
What 's the sql-version (and sp / hotfix) ?
March 19, 2004 at 5:21 am
did you stop and restart sqlagent ?
(should not be an issue, but you never know)
btw, I mostly use smtp-mail (http://www.sqldev.net)
March 19, 2004 at 4:52 am
You'll need to alter the service-accounts for sqlagent and sqlserver to a windows-account that has access to your mail-server and mailbox.
afaik local administrator has no network authority
March 19, 2004 at 4:38 am
Avoid NULL !
ALTER procedure _getInvoices ( @DateFrom as datetime = null, @DateUntil as datetime) AS
if @DateFrom IS NULL
begin
set @DateFrom = '1900-01-01 00:00:00.000'
end
if...
March 19, 2004 at 4:27 am
Viewing 15 posts - 7,081 through 7,095 (of 7,472 total)