Viewing 15 posts - 10,786 through 10,800 (of 13,460 total)
linked servers are notorious for slow performance; the reason is typically becuase the data is copied from the linked server into your servers tempdb, and then your operation/joins are performed...so...
Lowell
July 22, 2009 at 8:30 am
you are right...it looks like his maxnum() function returns the next available value...so it should be one less than that when added to row_number, unless he doesn't care about skipping...
Lowell
July 22, 2009 at 7:51 am
well third party log sniffers are great , but you can set up a trace going forward for free.
Also, remember that the Application name can be faked by a developer-savvy...
Lowell
July 22, 2009 at 7:46 am
forget the cursor, use a the row_number function or a Tally table to join to to get your starting max number:
something like this, if the query returns multiple rows, would...
Lowell
July 22, 2009 at 7:20 am
i still have to support a few SQL 2000 clients that have not upgraded yet, it's not that uncommon that companies do not upgrade when their db system does what...
Lowell
July 21, 2009 at 8:44 pm
maybe one of the articles required registration on another site, so you duplicated the same email for registration for that article? check your cookies or firefoxes saved passwords...see if you...
Lowell
July 21, 2009 at 4:12 pm
there was a similar thread, where someone wanted to cleanup misspellings int eh database to get teh addresses normalized;
take a look at this thread:http://www.sqlservercentral.com/Forums/Topic743750-338-1.aspx
we threw together some interesting scripts to...
Lowell
July 21, 2009 at 3:46 pm
it's statistics that is killing your query.
as statistics get more and more out of date, the saved execution plan takes longer and longer, as the original plan is inaccurate.
reindexing also...
Lowell
July 21, 2009 at 2:38 pm
anitha is incorrect, he's confusing the way oracle or other databases handle triggers, vs the way SQL Server works.
SQL Server's trigger is called once for any statement, whether it is...
Lowell
July 21, 2009 at 2:18 pm
Lately I'm swimming in spam messages from fake addresses that come from (supposedly) a .es domain email address, like 'santos2@telecable.es'; (I hope SSC can fix that for me too...just kidding)...
Lowell
July 21, 2009 at 10:34 am
the default trace should have what you are after;
i just did a backup, and confirmed that it appears in the trace.
here's some code for you to test with:
declare @sql varchar(max)
declare...
Lowell
July 21, 2009 at 10:24 am
I hope I can help clarify a bit.
some of the 3rd party Log readers , like from RedGate, can read your database and log files, and show you who did...
Lowell
July 21, 2009 at 9:56 am
That's straight from microsoft: the SQL 2000 MSDE (Desktop Edition), which is the old free for testing and evaluation version.
Lowell
July 21, 2009 at 9:25 am
a simple syntax error;
INSERTED is a virtual table that exists just inside the trigger...so there is no table called [TRAIN].[dbo].inserted [/b]
this should be:
SELECT @SRVSTAT = SRVSTAT,
...
Lowell
July 21, 2009 at 9:05 am
Scripting this out is not all that difficult; I slapped together the examples just from the top of my head...you just have to do it one piece at a time....the...
Lowell
July 21, 2009 at 8:40 am
Viewing 15 posts - 10,786 through 10,800 (of 13,460 total)