Viewing 15 posts - 2,716 through 2,730 (of 6,401 total)
select
case when MAX(mydate) < GETDATE() THEN MAX(mydate) ELSE MIN(Mydate) end as mydate
from #mydates where mydate >= GETDATE()
January 25, 2013 at 2:38 am
No additional indexes on the tables?
Just primary keys?
Also provide your data in a consumable format, like you have with your tables
E.g.
INSERT INTO TB_WORK_ORDER_ABV VALUES ('dfewrgre','ggergerg','gregergher','gerhreher')
January 25, 2013 at 2:05 am
what is the error message on the subscription?
have you set the unattended execution account?
have you set the smtp server to use for sending mail?
does the account the file share subscription...
January 25, 2013 at 2:01 am
Transactional Replication would be the only real alternative.
Unless you can live with delays when you can write your own SSIS packages to transfer new data, updated data, deleted data at...
January 25, 2013 at 1:53 am
Again I refer you back to the topic you rasied earlier
http://www.sqlservercentral.com/Forums/Topic1410892-391-1.aspx
January 24, 2013 at 7:25 am
You will need to ensure that you have selected disconnect users when restoring.
You cannot restore a log if the DB is being used by a user.
So if your logshipping is...
January 24, 2013 at 7:08 am
So JobB should only run if JobA has run successfully?
If JobA runs on a Saturday and finishes on a Sunday do you want to run JobB?
January 24, 2013 at 6:16 am
Post the query which is giving you performance problems dont keep changing the query.
Then from that query, post the definition of all tables used within that query along with all...
January 24, 2013 at 6:03 am
Definition of TB_TRACKING_ABV, TB_WORK_ORDER_AGVEN again with indexes please
January 24, 2013 at 5:55 am
One more time
Read the link in my signature on posting performance problems, also read the link on posting code and data.
Update all your statitics, rebuild your indexes, post the execution...
January 24, 2013 at 5:51 am
Also syscomments is depreciated, use sys.sql_modules instead
January 24, 2013 at 5:34 am
Take what the missing index view and DTA say with a pinch of salt, just dont apply anything it says at think it will work.
Your best off running DTA against...
January 24, 2013 at 5:27 am
Please post the CREATE TABLE scripts along with all indexes for both tables along with the full query.
You may have an outdated plan, bad statistics, bad index fragmentation which is...
January 24, 2013 at 5:24 am
Ruled that out as well, the management pack at the time didnt do everything we needed.
Again get a copy install it, configure it, evaluate it, if it does what you...
January 24, 2013 at 5:09 am
Truncating your log files, eeesh, you need to put some proper transaction log management in place, regular shrinking of files is not best practise.
http://www.sqlservercentral.com/stairway/73776/
Also get a copy of the accidental...
January 24, 2013 at 5:04 am
Viewing 15 posts - 2,716 through 2,730 (of 6,401 total)